Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.018/1.018, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.074/2.074, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/3.017e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001431/0.001461, allocations: 0.681 MB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002697, allocations: 1.21 MB / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.002756, allocations: 0 / 0.88 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.607e-05/0.002792, allocations: 3.938 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.002883, allocations: 15.86 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.003335, allocations: 141.4 kB / 0.8802 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.003501, allocations: 143.7 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.003591, allocations: 16.8 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.003697, allocations: 79.92 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.003806, allocations: 45.22 kB / 0.8805 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.00383, allocations: 8 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.003893, allocations: 27.97 kB / 0.8805 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.00392, allocations: 17.42 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.003979, allocations: 43.89 kB / 0.8806 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004136, allocations: 95.73 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.004139, allocations: 0 / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00414, allocations: 1.469 kB / 0.8807 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.004144, allocations: 3.938 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005221/0.004667, allocations: 450.1 kB / 0.8811 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.004704, allocations: 13.28 kB / 0.8811 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.004765, allocations: 20.88 kB / 0.8811 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.004923, allocations: 132.5 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.004943, allocations: 7.688 kB / 0.8813 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.004966, allocations: 16.36 kB / 0.8813 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.005106, allocations: 90.89 kB / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.005113, allocations: 192 / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005125, allocations: 384 / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.005133, allocations: 384 / 0.8814 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.005188, allocations: 39.84 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.005592, allocations: 328.2 kB / 0.8817 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.005731, allocations: 87 kB / 0.8818 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.005769, allocations: 31.67 kB / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-06/0.005776, allocations: 0 / 0.8818 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.005944, allocations: 128.9 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.005946, allocations: 0 / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002917/0.006237, allocations: 193.4 kB / 0.8821 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.006284, allocations: 59.34 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.006366, allocations: 165.9 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.006389, allocations: 37.7 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.006442, allocations: 142.8 kB / 0.8825 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.006464, allocations: 27.95 kB / 0.8825 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.006525, allocations: 55.34 kB / 0.8826 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006636, allocations: 0.4884 MB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.006719, allocations: 69.67 kB / 0.8831 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.006809, allocations: 120.1 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.006926, allocations: 136.1 kB / 0.8834 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.006929, allocations: 4 kB / 0.8834 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002515/0.00718, allocations: 236.8 kB / 0.8836 GB, free: 492 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.007214, allocations: 41.64 kB / 0.8836 GB, free: 444 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.007221, allocations: 4 kB / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007235, allocations: 0 / 0.8837 GB, free: 440 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.007302, allocations: 19.92 kB / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.007307, allocations: 0 / 0.8837 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.007418, allocations: 32.05 kB / 0.8837 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.007435, allocations: 15.98 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/0.007526, allocations: 164.6 kB / 0.8839 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.007547, allocations: 23.88 kB / 0.8839 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.007578, allocations: 8.438 kB / 0.8839 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.007582, allocations: 4 kB / 0.8839 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.007585, allocations: 3.938 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.007588, allocations: 0 / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.007887, allocations: 413.4 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.007889, allocations: 7.938 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.324e-05/0.007913, allocations: 4 kB / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007915, allocations: 0 / 0.8843 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.007925, allocations: 7.984 kB / 0.8843 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.007928, allocations: 4 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.007929, allocations: 3.938 kB / 0.8843 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.008134, allocations: 306.3 kB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.008145, allocations: 15.86 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.008167, allocations: 4 kB / 0.8846 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.446e-05/0.008221, allocations: 11.98 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.008264, allocations: 15.97 kB / 0.8847 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.008274, allocations: 8 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.165e-05/0.008316, allocations: 135.2 kB / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008316, allocations: 0 / 0.8848 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001893/0.008505, allocations: 32 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.008642, allocations: 111.2 kB / 0.8849 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.008876, allocations: 210.8 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.008878, allocations: 0 / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.008944, allocations: 47.92 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.009168, allocations: 34.09 kB / 0.8852 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.009528, allocations: 182.5 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.009572, allocations: 67.36 kB / 0.8855 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.009604, allocations: 8.484 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.009636, allocations: 16.5 kB / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/0.009637, allocations: 4 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.003772/0.01341, allocations: 1.893 MB / 0.8873 GB, free: 12.54 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.265645181294531]