Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002478/0.002478, allocations: 87.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002973/0.002973, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.768/1.768, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.985/2.985, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.388e-05, allocations: 4.984 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.00426/0.004294, allocations: 1.52 MB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.00562, allocations: 464.2 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.005672, allocations: 0.9688 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.774e-05/0.00571, allocations: 7.922 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.005829, allocations: 12.44 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.006018, allocations: 21.12 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.006154, allocations: 51.84 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006278, allocations: 11.98 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.006385, allocations: 31.91 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.006482, allocations: 16.84 kB / 0.8129 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.006511, allocations: 4 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.006528, allocations: 5.125 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.006585, allocations: 12.06 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.006646, allocations: 15.97 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.006814, allocations: 53.28 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006818, allocations: 0 / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.293e-06/0.006819, allocations: 0 / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.006824, allocations: 0 / 0.8129 GB, free: 15.92 MB / 0.7761 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.0007402/0.007565, allocations: 381.8 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.007612, allocations: 8.031 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.007677, allocations: 8.938 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.007863, allocations: 124.5 kB / 0.8134 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.007883, allocations: 5.656 kB / 0.8134 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.007901, allocations: 4.375 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.008073, allocations: 62.17 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.008083, allocations: 1.969 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.008098, allocations: 4.375 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.008106, allocations: 3.938 kB / 0.8135 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.00821, allocations: 23.98 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.008878, allocations: 293 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.009082, allocations: 63.08 kB / 0.8139 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.212e-05/0.009164, allocations: 28.19 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.009181, allocations: 4 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.009407, allocations: 82.31 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.009409, allocations: 0 / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003833/0.009793, allocations: 105.6 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.009856, allocations: 52.09 kB / 0.8141 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.01005, allocations: 174.4 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.01008, allocations: 33.7 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01021, allocations: 128.9 kB / 0.8145 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.379e-05/0.01025, allocations: 23.8 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/0.01034, allocations: 43.36 kB / 0.8145 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003576/0.0107, allocations: 496.1 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.01077, allocations: 19.98 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.01088, allocations: 55.27 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.01106, allocations: 79.39 kB / 0.8151 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01106, allocations: 4 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002844/0.01134, allocations: 111.1 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.01136, allocations: 4 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.01137, allocations: 3.984 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01139, allocations: 4.625 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.01152, allocations: 16.06 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.01152, allocations: 1 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.132e-05/0.01161, allocations: 4 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.01162, allocations: 8.75 kB / 0.8153 GB, free: 13.28 MB / 0.7761 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.0001892/0.01181, allocations: 169.2 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.01184, allocations: 11.89 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.01189, allocations: 12.94 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01189, allocations: 0 / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01189, allocations: 0.9375 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.0119, allocations: 3.938 kB / 0.8155 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.01255, allocations: 362.6 kB / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01255, allocations: 0 / 0.8158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.01259, allocations: 7.984 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.0126, allocations: 0 / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.01261, allocations: 0.9688 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01261, allocations: 0 / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01261, allocations: 0 / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.01298, allocations: 250.1 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.013, allocations: 0 / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.01301, allocations: 4 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.01313, allocations: 4 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.01319, allocations: 7.984 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01321, allocations: 4 kB / 0.8161 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001165/0.01332, allocations: 138.5 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01332, allocations: 0 / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004274/0.01375, allocations: 15.95 kB / 0.8162 GB, free: 12.25 MB / 0.7761 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.0001711/0.01392, allocations: 99.25 kB / 0.8163 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.01416, allocations: 67.59 kB / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.01416, allocations: 0 / 0.8164 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.01426, allocations: 36.17 kB / 0.8164 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.01469, allocations: 10.47 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.01516, allocations: 154.7 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.01527, allocations: 75.75 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.01531, allocations: 5.562 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.01536, allocations: 12.5 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of SimCode: time 6.22e-07/0.01536, allocations: 0 / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.005394/0.02076, allocations: 0.8366 MB / 0.8175 GB, free: 10.94 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.171545056975447]