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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.424/3.424, allocations: 0.4893 GB / 0.7884 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001947/0.001947, allocations: 66.59 kB / 1.145 GB, free: 30.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 174.9 MB / 1.316 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002924/0.3431, allocations: 1.5 MB / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.344, allocations: 454.8 kB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.344, allocations: 8 kB / 1.318 GB, free: 7.715 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.3441, allocations: 3.938 kB / 1.318 GB, free: 7.711 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.09e-05/0.3442, allocations: 7.922 kB / 1.318 GB, free: 7.703 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001528/0.3443, allocations: 23.91 kB / 1.318 GB, free: 7.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.3444, allocations: 47.91 kB / 1.318 GB, free: 7.633 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.3445, allocations: 8 kB / 1.318 GB, free: 7.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.3445, allocations: 23.86 kB / 1.318 GB, free: 7.602 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.3446, allocations: 23.92 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.3446, allocations: 4 kB / 1.318 GB, free: 7.574 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.3446, allocations: 4 kB / 1.318 GB, free: 7.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.3447, allocations: 15.91 kB / 1.318 GB, free: 7.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.91e-05/0.3447, allocations: 27.92 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.3448, allocations: 43.77 kB / 1.318 GB, free: 7.484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3448, allocations: 0 / 1.318 GB, free: 7.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3448, allocations: 0 / 1.318 GB, free: 7.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.3448, allocations: 0 / 1.318 GB, free: 7.484 MB / 1.014 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.000538/0.3454, allocations: 286.2 kB / 1.318 GB, free: 7.176 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3454, allocations: 8.031 kB / 1.318 GB, free: 7.168 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3455, allocations: 4.938 kB / 1.318 GB, free: 7.164 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3456, allocations: 122.4 kB / 1.319 GB, free: 7.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3456, allocations: 4.375 kB / 1.319 GB, free: 7.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3456, allocations: 4.375 kB / 1.319 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.3457, allocations: 54 kB / 1.319 GB, free: 6.953 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3457, allocations: 4 kB / 1.319 GB, free: 6.949 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.3458, allocations: 4 kB / 1.319 GB, free: 6.945 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3458, allocations: 3.938 kB / 1.319 GB, free: 6.941 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3458, allocations: 31.91 kB / 1.319 GB, free: 6.91 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.3464, allocations: 275.8 kB / 1.319 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3465, allocations: 46.62 kB / 1.319 GB, free: 6.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.3465, allocations: 24.92 kB / 1.319 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.3465, allocations: 0 / 1.319 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3467, allocations: 75.38 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3467, allocations: 4 kB / 1.319 GB, free: 6.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0002366/0.347, allocations: 101.5 kB / 1.319 GB, free: 6.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.347, allocations: 51.41 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.3471, allocations: 113.8 kB / 1.319 GB, free: 6.137 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3471, allocations: 25.7 kB / 1.319 GB, free: 6.105 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.3472, allocations: 88.14 kB / 1.319 GB, free: 6.016 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3472, allocations: 19.8 kB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3473, allocations: 29.7 kB / 1.319 GB, free: 5.961 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3474, allocations: 326.8 kB / 1.32 GB, free: 5.633 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.825e-05/0.3474, allocations: 12 kB / 1.32 GB, free: 5.621 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.3475, allocations: 51.36 kB / 1.32 GB, free: 5.559 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3476, allocations: 75.53 kB / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3476, allocations: 0 / 1.32 GB, free: 5.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001532/0.3478, allocations: 93.58 kB / 1.32 GB, free: 5.375 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3478, allocations: 4 kB / 1.32 GB, free: 5.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3478, allocations: 4 kB / 1.32 GB, free: 5.367 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3478, allocations: 3.984 kB / 1.32 GB, free: 5.363 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.167e-05/0.3479, allocations: 12 kB / 1.32 GB, free: 5.352 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.3479, allocations: 7.938 kB / 1.32 GB, free: 5.344 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.348, allocations: 7.984 kB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.348, allocations: 384 / 1.32 GB, free: 5.336 MB / 1.014 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.908e-05/0.3481, allocations: 126.5 kB / 1.32 GB, free: 5.203 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.3481, allocations: 3.953 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.3481, allocations: 12.06 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3481, allocations: 3.938 kB / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3481, allocations: 0 / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3481, allocations: 0 / 1.32 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.3486, allocations: 333.5 kB / 1.32 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3486, allocations: 0 / 1.32 GB, free: 4.801 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.3486, allocations: 7.984 kB / 1.32 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3486, allocations: 11.94 kB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3486, allocations: 3.938 kB / 1.32 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3486, allocations: 3.938 kB / 1.321 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3486, allocations: 0 / 1.321 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.3488, allocations: 179.5 kB / 1.321 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.3488, allocations: 7.938 kB / 1.321 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3488, allocations: 0 / 1.321 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.3489, allocations: 11.92 kB / 1.321 GB, free: 4.562 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.349, allocations: 15.98 kB / 1.321 GB, free: 4.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.349, allocations: 4.062 kB / 1.321 GB, free: 4.543 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.349, allocations: 87.28 kB / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 0 / 1.321 GB, free: 4.457 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000239/0.3493, allocations: 15.95 kB / 1.321 GB, free: 4.441 MB / 1.014 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.0001055/0.3494, allocations: 99.78 kB / 1.321 GB, free: 4.336 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.3495, allocations: 56.23 kB / 1.321 GB, free: 4.281 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3495, allocations: 4.062 kB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.694e-05/0.3496, allocations: 24.12 kB / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.3499, allocations: 17.83 kB / 1.321 GB, free: 4.238 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.3502, allocations: 145.4 kB / 1.321 GB, free: 4.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.3505, allocations: 0.6846 MB / 1.322 GB, free: 3.359 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.83e-05/0.3506, allocations: 8.078 kB / 1.322 GB, free: 3.352 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.3506, allocations: 15.44 kB / 1.322 GB, free: 3.336 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.3506, allocations: 0 / 1.322 GB, free: 3.336 MB / 1.014 GB Notification: Performance of Templates: time 0.003412/0.354, allocations: 0.8316 MB / 1.323 GB, free: 2.516 MB / 1.014 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.961303657852113]