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.001315/0.001315, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001811/0.001811, allocations: 173 kB / 24.28 MB, free: 272 kB / 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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 1.87/1.87, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] 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.763e-06/1.763e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.336e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003151/0.003184, allocations: 1.542 MB / 0.813 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.004076, allocations: 468.4 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.004128, allocations: 0 / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.004163, allocations: 4.969 kB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.754e-05/0.004261, allocations: 11.86 kB / 0.8135 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.004458, allocations: 24.69 kB / 0.8135 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.004562, allocations: 51.84 kB / 0.8135 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.004679, allocations: 17.61 kB / 0.8136 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.004786, allocations: 31.98 kB / 0.8136 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.004862, allocations: 11.98 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.004891, allocations: 4 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.004903, allocations: 4 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.004927, allocations: 13.42 kB / 0.8136 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.004978, allocations: 23.92 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.005096, allocations: 31.89 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0051, allocations: 0 / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005101, allocations: 1.75 kB / 0.8137 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.005106, allocations: 0 / 0.8137 GB, free: 15.89 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.0005283/0.005634, allocations: 384.5 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.005684, allocations: 12.02 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.005743, allocations: 9.453 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.005868, allocations: 113.5 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.005887, allocations: 8.375 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.005902, allocations: 4.375 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001227/0.006025, allocations: 50.77 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.006033, allocations: 1.594 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.006045, allocations: 384 / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.006059, allocations: 3.938 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.00612, allocations: 23.92 kB / 0.8143 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004784/0.006598, allocations: 286.2 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.006716, allocations: 59.08 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.409e-05/0.00676, allocations: 23.64 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.557e-06/0.006768, allocations: 0 / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.006908, allocations: 73.11 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.694e-06/0.006909, allocations: 0.5312 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002494/0.007159, allocations: 98.27 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.007212, allocations: 59.34 kB / 0.8148 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.007313, allocations: 162.5 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.007332, allocations: 31.36 kB / 0.815 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.00739, allocations: 138.9 kB / 0.8151 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.007418, allocations: 19.84 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.007468, allocations: 31.38 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.007612, allocations: 0.4923 MB / 0.8157 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.349e-05/0.007646, allocations: 8.438 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.739e-05/0.007703, allocations: 51.33 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.007799, allocations: 71.45 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.007802, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001532/0.007955, allocations: 98.66 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.007971, allocations: 8 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007976, allocations: 1.375 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.007991, allocations: 4 kB / 0.8159 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.00808, allocations: 11.94 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.008092, allocations: 4 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.008149, allocations: 8.484 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.008162, allocations: 13.11 kB / 0.8159 GB, free: 13.34 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 9.182e-05/0.008254, allocations: 164.5 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.008274, allocations: 12.8 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.008302, allocations: 8.125 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.008305, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.008309, allocations: 0.8438 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.008313, allocations: 11.92 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.008679, allocations: 339.6 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.008682, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.008711, allocations: 4 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008714, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.008722, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.008725, allocations: 0 / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008726, allocations: 2.781 kB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.008908, allocations: 239.8 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.168e-05/0.00892, allocations: 4.234 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008936, allocations: 8 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.009015, allocations: 3.984 kB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.009064, allocations: 11.97 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.009071, allocations: 4 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.009116, allocations: 124.7 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009117, allocations: 7.938 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002575/0.009374, allocations: 8 kB / 0.8169 GB, free: 12.34 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.0001064/0.009481, allocations: 103.7 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.009623, allocations: 56.89 kB / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009625, allocations: 0 / 0.817 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.009683, allocations: 32.22 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.009985, allocations: 16.98 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.01032, allocations: 147 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.874e-05/0.01037, allocations: 63.34 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.293e-05/0.0104, allocations: 4.531 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.01045, allocations: 20.17 kB / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/0.01045, allocations: 0 / 0.8173 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of Templates: time 0.003161/0.01361, allocations: 0.8354 MB / 0.8181 GB, free: 11.05 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","",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.069867477053776]