Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 115.5 kB / 16.37 MB, free: 5.984 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.001261/0.001262, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.395/2.395, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.3 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3273, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004917/0.3323, allocations: 3.177 MB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.3342, allocations: 0.9621 MB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.3344, allocations: 15.94 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3347, allocations: 71.25 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.3349, allocations: 95.09 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.3355, allocations: 243.4 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.336, allocations: 0.5543 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.3364, allocations: 243.5 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.3366, allocations: 199.1 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.3368, allocations: 210.9 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.3369, allocations: 52 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.895e-05/0.337, allocations: 56 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.3371, allocations: 111.5 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.3373, allocations: 238.7 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3378, allocations: 0.5877 MB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3378, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3378, allocations: 0 / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3378, allocations: 0 / 1.033 GB, free: 11.2 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001114/0.339, allocations: 0.7622 MB / 1.034 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.339, allocations: 12.03 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.3391, allocations: 56.28 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.3398, allocations: 416.6 kB / 1.035 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.3398, allocations: 29.38 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.3399, allocations: 40.38 kB / 1.035 GB, free: 9.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/0.3405, allocations: 401.9 kB / 1.035 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3405, allocations: 7.984 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.3406, allocations: 16 kB / 1.035 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3406, allocations: 8 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.3411, allocations: 259.8 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3427, allocations: 1.309 MB / 1.037 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.3433, allocations: 311.9 kB / 1.037 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.3436, allocations: 153.2 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.3437, allocations: 4 kB / 1.037 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003088/0.344, allocations: 174 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.344, allocations: 0 / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0007526/0.3447, allocations: 374.7 kB / 1.038 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.3448, allocations: 93.05 kB / 1.038 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3451, allocations: 353.5 kB / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.3452, allocations: 37.7 kB / 1.038 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.3453, allocations: 233 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.3454, allocations: 98.56 kB / 1.038 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.3456, allocations: 73.97 kB / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3457, allocations: 350.8 kB / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3459, allocations: 104.7 kB / 1.039 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.3462, allocations: 168.4 kB / 1.039 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.3466, allocations: 263.8 kB / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3466, allocations: 0 / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005709/0.3472, allocations: 358.4 kB / 1.04 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3473, allocations: 4 kB / 1.04 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3473, allocations: 0 / 1.04 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3473, allocations: 4 kB / 1.04 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.3475, allocations: 67.91 kB / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3476, allocations: 3.938 kB / 1.04 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.3478, allocations: 39.67 kB / 1.04 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.3478, allocations: 16.19 kB / 1.04 GB, free: 4.359 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001902/0.348, allocations: 178.2 kB / 1.04 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.348, allocations: 39.53 kB / 1.04 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.29e-05/0.3481, allocations: 48.23 kB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3482, allocations: 4 kB / 1.04 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3482, allocations: 0 / 1.04 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3482, allocations: 3.984 kB / 1.04 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.3492, allocations: 0.8042 MB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3492, allocations: 0 / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.3495, allocations: 51.91 kB / 1.041 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3495, allocations: 4 kB / 1.041 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3495, allocations: 4 kB / 1.041 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3495, allocations: 4 kB / 1.041 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3495, allocations: 0 / 1.041 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/0.3503, allocations: 0.5207 MB / 1.041 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3504, allocations: 136.6 kB / 1.041 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3505, allocations: 12 kB / 1.041 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3507, allocations: 15.98 kB / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.3508, allocations: 27.97 kB / 1.041 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.3508, allocations: 11.92 kB / 1.042 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002163/0.351, allocations: 243.2 kB / 1.042 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.351, allocations: 7.938 kB / 1.042 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003369/0.3514, allocations: 87.62 kB / 1.042 GB, free: 2.078 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.0001248/0.3515, allocations: 115.2 kB / 1.042 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005176/0.352, allocations: 260.1 kB / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.352, allocations: 4 kB / 1.042 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.3523, allocations: 131.8 kB / 1.042 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3528, allocations: 78.56 kB / 1.042 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3541, allocations: 0.8016 MB / 1.043 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3544, allocations: 0.8151 MB / 1.044 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.3546, allocations: 43.27 kB / 1.044 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.732e-05/0.3547, allocations: 27.44 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3547, allocations: 4 kB / 1.044 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.007426/0.3621, allocations: 3.643 MB / 1.048 GB, free: 12.14 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches