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.000799/0.000799, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.001866, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007075/0.0007075, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009166/0.001624, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07541/0.991, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.29/2.29, allocations: 446.7 MB / 0.6745 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2502/2.541, allocations: 145.9 MB / 0.817 GB, free: 4.25 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.633e-06/1.633e-06, allocations: 0 / 0.8183 GB, free: 2.953 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.399e-05, allocations: 9.203 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002976/0.003, allocations: 1.584 MB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008507/0.003851, allocations: 478.6 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.003893, allocations: 0 / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.003933, allocations: 11.92 kB / 0.8203 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.003996, allocations: 7.875 kB / 0.8203 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.004117, allocations: 27.91 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.00422, allocations: 51.84 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004321, allocations: 7.984 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/0.00442, allocations: 39.84 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.0045, allocations: 11.97 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.004527, allocations: 8 kB / 0.8205 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.004541, allocations: 4 kB / 0.8205 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.004563, allocations: 7.938 kB / 0.8205 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.004601, allocations: 20 kB / 0.8205 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.004717, allocations: 23.91 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.621e-05/0.004733, allocations: 0 / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004734, allocations: 0 / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.004753, allocations: 4 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 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.0005416/0.005294, allocations: 272.4 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.005337, allocations: 12.03 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.005377, allocations: 4.938 kB / 0.8208 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.005497, allocations: 113.7 kB / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.005511, allocations: 384 / 0.8209 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.005526, allocations: 12.38 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.37e-05/0.00562, allocations: 50.23 kB / 0.821 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.005628, allocations: 4.125 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.005636, allocations: 384 / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005643, allocations: 3.938 kB / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.00568, allocations: 15.98 kB / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.006031, allocations: 180.1 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.006117, allocations: 34.56 kB / 0.8212 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.006146, allocations: 20.84 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.006153, allocations: 4 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.00628, allocations: 71.34 kB / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.006282, allocations: 0 / 0.8213 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001623/0.006444, allocations: 69.61 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.006495, allocations: 55.41 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.006567, allocations: 106.7 kB / 0.8215 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.006587, allocations: 29.7 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.969e-05/0.006626, allocations: 88.09 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.006657, allocations: 23.83 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.006707, allocations: 29.7 kB / 0.8217 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.00681, allocations: 326.8 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.006828, allocations: 4 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.006868, allocations: 35.42 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.006944, allocations: 63.5 kB / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006947, allocations: 0 / 0.8221 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001109/0.007057, allocations: 81.48 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.007074, allocations: 4 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.007081, allocations: 4 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.007091, allocations: 0 / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.007174, allocations: 12 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.00718, allocations: 8.031 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/0.007232, allocations: 19.86 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007237, allocations: 0 / 0.8222 GB, free: 14.75 MB / 0.8073 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 8.056e-05/0.007318, allocations: 117.8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.007332, allocations: 7.938 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.007364, allocations: 16.11 kB / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.007366, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007368, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007372, allocations: 0 / 0.8223 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.007661, allocations: 226.7 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007665, allocations: 3.938 kB / 0.8225 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.007693, allocations: 4 kB / 0.8225 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.007704, allocations: 4 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.007706, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.007714, allocations: 3.984 kB / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007715, allocations: 0 / 0.8226 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007717, allocations: 4 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.007833, allocations: 159.9 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.007846, allocations: 4 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.00791, allocations: 4 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.007946, allocations: 7.984 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.007952, allocations: 4 kB / 0.8227 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.775e-05/0.00797, allocations: 12.84 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.00797, allocations: 0 / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002058/0.008176, allocations: 19.95 kB / 0.8228 GB, free: 14.11 MB / 0.8073 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 9.241e-05/0.008269, allocations: 80.36 kB / 0.8228 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.008372, allocations: 41.2 kB / 0.8229 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.008381, allocations: 8 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.008425, allocations: 32.7 kB / 0.8229 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.008629, allocations: 20.09 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004431/0.009072, allocations: 140.4 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.374e-05/0.009115, allocations: 59.34 kB / 0.8231 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.009148, allocations: 7.984 kB / 0.8231 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.009216, allocations: 63.36 kB / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.009217, allocations: 0 / 0.8232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of Templates: time 0.003467/0.01268, allocations: 0.8619 MB / 0.824 GB, free: 12.76 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.ref.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[2514]=0.000000 " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.103131904266775]