Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 106.2 kB / 16.36 MB, free: 6.258 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.001957/0.001957, allocations: 190.2 kB / 17.3 MB, free: 5.848 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 442.6 MB / 0.7166 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 67.27 kB / 0.8774 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3385, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001996/0.3406, allocations: 0.7618 MB / 1.028 GB, free: 1.277 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001507/0.3421, allocations: 1.257 MB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.3422, allocations: 4 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.3422, allocations: 4.047 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.3423, allocations: 19.78 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.343, allocations: 246.3 kB / 1.029 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.3433, allocations: 267.4 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3434, allocations: 24.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3435, allocations: 91.88 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.3437, allocations: 99.72 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.3437, allocations: 24 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.3438, allocations: 43.92 kB / 1.03 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.3439, allocations: 23.97 kB / 1.03 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.344, allocations: 91.73 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3442, allocations: 223.3 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3442, allocations: 4 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3442, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3443, allocations: 0 / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007191/0.345, allocations: 0.4919 MB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.345, allocations: 15.97 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3451, allocations: 20.83 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.3456, allocations: 248.3 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3457, allocations: 12.38 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.3457, allocations: 20.36 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.346, allocations: 135.8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.346, allocations: 3.938 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.346, allocations: 3.984 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.346, allocations: 4 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3461, allocations: 63.89 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.3469, allocations: 0.5084 MB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3472, allocations: 161.2 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.3473, allocations: 69.88 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.3473, allocations: 3.984 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003289/0.3476, allocations: 206 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.3476, allocations: 3.938 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=22): time 0.000528/0.3482, allocations: 305.3 kB / 1.032 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.3482, allocations: 85.11 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3484, allocations: 140.8 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.3484, allocations: 37.7 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.761e-05/0.3485, allocations: 100.7 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.3485, allocations: 51.41 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.3487, allocations: 69.69 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3488, allocations: 322.8 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.349, allocations: 92.22 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3492, allocations: 152.9 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.3495, allocations: 247 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3495, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005429/0.3501, allocations: 357 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.3501, allocations: 71.34 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3501, allocations: 0 / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.3502, allocations: 8 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.3502, allocations: 20.14 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3503, allocations: 11.94 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.3506, allocations: 63.78 kB / 1.034 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.3507, allocations: 23.98 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001335/0.3508, allocations: 147.9 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3508, allocations: 19.89 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3509, allocations: 20.48 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3509, allocations: 0 / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3509, allocations: 0 / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.351, allocations: 92.86 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.351, allocations: 15.92 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.3511, allocations: 7.984 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.3512, allocations: 27.91 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004682/0.3517, allocations: 419.7 kB / 1.035 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004359/0.3521, allocations: 499.5 kB / 1.035 GB, free: 9.164 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001479/0.3523, allocations: 111.9 kB / 1.035 GB, free: 9.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.3523, allocations: 95.27 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of Backend: time 3.01e-07/0.3523, allocations: 0 / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007613/0.3531, allocations: 373 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0006037/0.3537, allocations: 0.6638 MB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of Templates: time 0.00578/0.3595, allocations: 2.81 MB / 1.039 GB, free: 5.066 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches