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.001477/0.001477, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001611/0.001611, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.881/2.881, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.352e-06/1.352e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.6e-05, allocations: 2.281 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002654/0.00268, allocations: 1.496 MB / 1.002 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.003525, allocations: 454.8 kB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.003567, allocations: 0 / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.003599, allocations: 3.938 kB / 1.002 GB, free: 5.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.003674, allocations: 15.92 kB / 1.002 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.003825, allocations: 15.92 kB / 1.002 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.553e-05/0.003921, allocations: 51.84 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.004027, allocations: 15.97 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.004097, allocations: 23.92 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.004161, allocations: 19.97 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.004186, allocations: 4 kB / 1.002 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.004199, allocations: 8 kB / 1.002 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.004222, allocations: 15.86 kB / 1.002 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.004261, allocations: 15.98 kB / 1.002 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.004373, allocations: 51.8 kB / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004375, allocations: 0 / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.32e-07/0.004376, allocations: 0 / 1.002 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004379, allocations: 0 / 1.002 GB, free: 5.129 MB / 0.9512 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.0005032/0.004883, allocations: 282.3 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.004916, allocations: 8.031 kB / 1.003 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.004948, allocations: 8.891 kB / 1.003 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.005063, allocations: 117.7 kB / 1.003 GB, free: 4.668 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.005083, allocations: 8.375 kB / 1.003 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.005099, allocations: 4.375 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005218, allocations: 62.17 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.005225, allocations: 192 / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.005234, allocations: 384 / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.005241, allocations: 3.938 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.343e-05/0.005314, allocations: 27.98 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.005779, allocations: 240.4 kB / 1.003 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.005891, allocations: 54.56 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.00594, allocations: 24.89 kB / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.005952, allocations: 0 / 1.003 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.006103, allocations: 83.39 kB / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.006104, allocations: 0 / 1.003 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0002373/0.006342, allocations: 101.6 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.006388, allocations: 55.41 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.006482, allocations: 101.8 kB / 1.003 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.006507, allocations: 37.64 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.006559, allocations: 88.14 kB / 1.003 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.006586, allocations: 19.8 kB / 1.004 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.006633, allocations: 29.7 kB / 1.004 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.006787, allocations: 318.8 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.006825, allocations: 16.36 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.006889, allocations: 51.36 kB / 1.004 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.844e-05/0.006987, allocations: 67.55 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.006989, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001622/0.007152, allocations: 105.4 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007166, allocations: 8 kB / 1.004 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.00717, allocations: 4.031 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.007182, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.007255, allocations: 11.98 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.007262, allocations: 4 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.007328, allocations: 8 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.007336, allocations: 4 kB / 1.004 GB, free: 3.016 MB / 0.9512 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 0.0001152/0.007451, allocations: 122.3 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.007468, allocations: 11.89 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.007498, allocations: 8.125 kB / 1.004 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.0075, allocations: 4 kB / 1.004 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.007505, allocations: 4.062 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.007508, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.007908, allocations: 310 kB / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007909, allocations: 0 / 1.005 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.007936, allocations: 4 kB / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.007938, allocations: 0 / 1.005 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.007949, allocations: 4 kB / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.00795, allocations: 0 / 1.005 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007951, allocations: 3.938 kB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.008139, allocations: 187.4 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.008153, allocations: 11.95 kB / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.008166, allocations: 0 / 1.005 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.008257, allocations: 11.98 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.008301, allocations: 7.984 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.008306, allocations: 0 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.00836, allocations: 87.28 kB / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.00836, allocations: 192 / 1.005 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002351/0.008595, allocations: 8 kB / 1.005 GB, free: 2.184 MB / 0.9512 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.0001077/0.008703, allocations: 111.1 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.008838, allocations: 52.16 kB / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.00884, allocations: 0 / 1.005 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-05/0.008893, allocations: 27.92 kB / 1.005 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.009173, allocations: 16.11 kB / 1.005 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000318/0.009491, allocations: 146.8 kB / 1.005 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.577e-05/0.009566, allocations: 71.33 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.009591, allocations: 4 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.009626, allocations: 16.56 kB / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.009626, allocations: 0 / 1.005 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of Templates: time 0.003422/0.01305, allocations: 0.8033 MB / 1.006 GB, free: 0.9062 MB / 0.9512 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",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: 8.22507244348526]