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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001167, allocations: 112.6 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 68.11 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.741/0.7424, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002341/0.7447, allocations: 1.469 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000607/0.7454, allocations: 446.9 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.7454, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.7454, allocations: 3.938 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.087e-05/0.7455, allocations: 15.91 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.7456, allocations: 23.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.7457, allocations: 47.91 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.928e-05/0.7458, allocations: 12 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.7458, allocations: 27.84 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.7459, allocations: 19.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.7459, allocations: 8 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-06/0.7459, allocations: 4 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.7459, allocations: 11.92 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.746, allocations: 27.91 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.7461, allocations: 43.81 kB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7461, allocations: 0 / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7461, allocations: 4 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.7461, allocations: 0 / 1.211 GB, free: 11.49 MB / 0.9356 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.0004553/0.7466, allocations: 355.2 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.7466, allocations: 12.03 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.7466, allocations: 4.844 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.7468, allocations: 174.1 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.7468, allocations: 12.38 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.7468, allocations: 4.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.7469, allocations: 58 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.7469, allocations: 3.984 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.7469, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.7469, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.747, allocations: 23.98 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.7474, allocations: 304.5 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.7475, allocations: 58.56 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.322e-05/0.7476, allocations: 28.94 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.7476, allocations: 4.031 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001259/0.7477, allocations: 67.39 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.7478, allocations: 0 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002015/0.748, allocations: 97.61 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.748, allocations: 55.41 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.7481, allocations: 113.8 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.7481, allocations: 29.7 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.7482, allocations: 84.14 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.7482, allocations: 27.69 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.7482, allocations: 21.72 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7483, allocations: 326.8 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.7484, allocations: 15.94 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.7484, allocations: 51.36 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.399e-05/0.7485, allocations: 63.61 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7485, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001396/0.7487, allocations: 101.5 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7487, allocations: 5.719 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.7487, allocations: 0 / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7487, allocations: 8.031 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.557e-05/0.7488, allocations: 12 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.7488, allocations: 0 / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.7489, allocations: 15.83 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.7489, allocations: 4 kB / 1.213 GB, free: 9.148 MB / 0.9356 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.241e-05/0.749, allocations: 121.7 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.749, allocations: 4 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.749, allocations: 8.344 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.749, allocations: 3.984 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.7491, allocations: 8.062 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.7491, allocations: 85.02 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.7491, allocations: 11.88 kB / 1.213 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.7492, allocations: 7.984 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.7492, allocations: 4 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001864/0.7494, allocations: 168.9 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000179/0.7496, allocations: 258.8 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.231e-05/0.7496, allocations: 23.98 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.7497, allocations: 83.22 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of Backend: time 3.2e-07/0.7497, allocations: 0 / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.75, allocations: 114.3 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004548/0.7505, allocations: 0.5843 MB / 1.214 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of Templates: time 0.002643/0.7532, allocations: 0.7955 MB / 1.215 GB, free: 6.777 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches