Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.0009771/0.0009771, allocations: 93.06 kB / 19.65 MB, free: 280 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.00148/0.00148, allocations: 165 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.04/2.04, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.8781 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.124e-05, allocations: 6.328 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003109/0.00314, allocations: 1.547 MB / 0.8797 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.004068, allocations: 476.9 kB / 0.8801 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.004116, allocations: 4 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.744e-05/0.004153, allocations: 6.125 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.004248, allocations: 7.922 kB / 0.8801 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.004442, allocations: 19.97 kB / 0.8801 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.62e-05/0.004539, allocations: 51.84 kB / 0.8802 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.004647, allocations: 15.88 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.483e-05/0.004732, allocations: 35.89 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.004805, allocations: 16.64 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.004828, allocations: 4 kB / 0.8803 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.00484, allocations: 5.656 kB / 0.8803 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.004866, allocations: 11.98 kB / 0.8803 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.004913, allocations: 19.91 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.005044, allocations: 31.95 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005047, allocations: 0.5 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.005048, allocations: 1.281 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005053, allocations: 0 / 0.8803 GB, free: 4.102 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005062/0.005559, allocations: 380.5 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.005604, allocations: 13.62 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.005654, allocations: 12.88 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.005763, allocations: 112.6 kB / 0.8808 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.005777, allocations: 4.312 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.005793, allocations: 8.375 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005903, allocations: 54.17 kB / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.005915, allocations: 192 / 0.8809 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.005928, allocations: 8.375 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.005938, allocations: 3.938 kB / 0.8809 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.084e-05/0.005989, allocations: 15.98 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.006431, allocations: 291.6 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006536, allocations: 47.05 kB / 0.8812 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.006577, allocations: 23.72 kB / 0.8813 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.006586, allocations: 8 kB / 0.8813 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.006716, allocations: 77.06 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.006717, allocations: 0 / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002332/0.00695, allocations: 101.8 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.006994, allocations: 51.41 kB / 0.8815 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.007091, allocations: 165.9 kB / 0.8816 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.007108, allocations: 25.7 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.007172, allocations: 138.8 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.007204, allocations: 23.83 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.007256, allocations: 35.38 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.007399, allocations: 0.4884 MB / 0.8823 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.682e-05/0.007436, allocations: 12 kB / 0.8824 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-05/0.007494, allocations: 54.67 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.007584, allocations: 70.67 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.007587, allocations: 0 / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001495/0.007736, allocations: 93.72 kB / 0.8826 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.007754, allocations: 4 kB / 0.8826 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.007761, allocations: 4 kB / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.007778, allocations: 0 / 0.8826 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.007867, allocations: 12.03 kB / 0.8826 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.007875, allocations: 11.88 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.576e-05/0.007931, allocations: 15.94 kB / 0.8826 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.007939, allocations: 4 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.564e-05/0.008034, allocations: 164.5 kB / 0.8828 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.008051, allocations: 7.938 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.00809, allocations: 12.12 kB / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.008092, allocations: 0 / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008097, allocations: 0 / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.008101, allocations: 0 / 0.8828 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.008439, allocations: 345.3 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.008442, allocations: 3.984 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.008467, allocations: 11.94 kB / 0.8831 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.00847, allocations: 0 / 0.8831 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.00848, allocations: 4 kB / 0.8831 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.008482, allocations: 0 / 0.8831 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008483, allocations: 0 / 0.8831 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.008654, allocations: 227.8 kB / 0.8834 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.008669, allocations: 11.95 kB / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.008682, allocations: 0 / 0.8834 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.008743, allocations: 7.984 kB / 0.8834 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.008793, allocations: 12.05 kB / 0.8834 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.008803, allocations: 8 kB / 0.8834 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.008854, allocations: 123.2 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008854, allocations: 0 / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000261/0.009115, allocations: 16 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001209/0.009236, allocations: 95.25 kB / 0.8836 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.009376, allocations: 51.81 kB / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.009378, allocations: 0 / 0.8837 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.009431, allocations: 35.61 kB / 0.8837 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.00971, allocations: 15.94 kB / 0.8837 GB, free: 316 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.01006, allocations: 150.2 kB / 0.8839 GB, free: 136 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.33e-05/0.01012, allocations: 64.44 kB / 0.8839 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.416e-05/0.01015, allocations: 4 kB / 0.8839 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.01019, allocations: 12.5 kB / 0.8839 GB, free: 36 kB / 0.8386 GB Notification: Performance of SimCode: time 8.82e-07/0.01019, allocations: 0 / 0.8839 GB, free: 36 kB / 0.8386 GB Notification: Performance of Templates: time 0.003231/0.01342, allocations: 0.8344 MB / 0.8847 GB, free: 15.21 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[511]=0.000000 File[2520]=0.000400 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.325962674804032]