Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.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.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") translateModel(Buildings.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoi.y|mea.y|trigger.y|limPIDDef.y|limPIDDef.controlError|limPIDPar.y|limPIDPar.y_reset|limPIDInp.y|limPIDInp.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 108.4 kB / 16.42 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.001043/0.001043, allocations: 191.9 kB / 17.35 MB, free: 5.621 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.309/1.309, 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.529/2.529, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 59.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8123, allocations: 157.4 MB / 1.208 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.005437/0.8178, allocations: 4.337 MB / 1.213 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.8213, allocations: 1.578 MB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009629/0.8223, allocations: 35.81 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.8229, allocations: 166.2 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.824, allocations: 226.1 kB / 1.215 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.8256, allocations: 0.6649 MB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001542/0.8272, allocations: 1.23 MB / 1.216 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008154/0.828, allocations: 0.4962 MB / 1.217 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006772/0.8287, allocations: 481.8 kB / 1.217 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.8293, allocations: 457.5 kB / 1.218 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.8295, allocations: 100 kB / 1.218 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.8297, allocations: 108 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.8299, allocations: 235 kB / 1.218 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.8303, allocations: 489 kB / 1.219 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.8316, allocations: 1.169 MB / 1.22 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.8316, allocations: 4 kB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8316, allocations: 0 / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8316, allocations: 0 / 1.22 GB, free: 1.977 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002348/0.834, allocations: 1.395 MB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.834, allocations: 8.031 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.8342, allocations: 119.5 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.8354, allocations: 0.7625 MB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.8355, allocations: 84.27 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.8356, allocations: 68.38 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.8369, allocations: 0.7406 MB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.8369, allocations: 3.938 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.837, allocations: 28 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.837, allocations: 16 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.838, allocations: 0.5126 MB / 1.223 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.8411, allocations: 2.251 MB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.8425, allocations: 0.6232 MB / 1.226 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.843, allocations: 274.4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.904e-05/0.8431, allocations: 4.562 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006603/0.8438, allocations: 327 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 3.237e-06/0.8438, allocations: 0 / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.001614/0.8454, allocations: 0.7517 MB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.8455, allocations: 85.67 kB / 1.228 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.8463, allocations: 0.7554 MB / 1.228 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.8463, allocations: 37.7 kB / 1.228 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.8466, allocations: 444.5 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.8468, allocations: 208.9 kB / 1.229 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.847, allocations: 110.2 kB / 1.229 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8471, allocations: 334 kB / 1.23 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.8475, allocations: 207.4 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.8481, allocations: 304.4 kB / 1.23 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.849, allocations: 0.5036 MB / 1.23 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.849, allocations: 0 / 1.23 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00118/0.8502, allocations: 0.6539 MB / 1.231 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.8502, allocations: 8.234 kB / 1.231 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.8503, allocations: 8 kB / 1.231 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.8503, allocations: 8.031 kB / 1.231 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/0.8509, allocations: 147.7 kB / 1.231 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.8509, allocations: 7.938 kB / 1.231 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.8514, allocations: 71.34 kB / 1.231 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.8514, allocations: 20 kB / 1.231 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005933/0.852, allocations: 361.4 kB / 1.232 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00045/0.8525, allocations: 284.5 kB / 1.232 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008455/0.8533, allocations: 499.7 kB / 1.232 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.8533, allocations: 0 / 1.232 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001085/0.8544, allocations: 0.6305 MB / 1.233 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8544, allocations: 11.98 kB / 1.233 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.8544, allocations: 0 / 1.233 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.215e-06/0.8545, allocations: 8 kB / 1.233 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.8551, allocations: 139.8 kB / 1.233 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8551, allocations: 8 kB / 1.233 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.8555, allocations: 55.7 kB / 1.233 GB, free: 3.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.8555, allocations: 23.98 kB / 1.233 GB, free: 3.727 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001671/0.8557, allocations: 221.9 kB / 1.234 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.8558, allocations: 94.78 kB / 1.234 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.856, allocations: 101.2 kB / 1.234 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8561, allocations: 3.984 kB / 1.234 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8561, allocations: 4 kB / 1.234 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.8563, allocations: 223.7 kB / 1.234 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.713e-05/0.8564, allocations: 12 kB / 1.234 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.8568, allocations: 35.95 kB / 1.234 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8569, allocations: 40.45 kB / 1.234 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001607/0.8586, allocations: 0.6744 MB / 1.235 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001727/0.8603, allocations: 1.063 MB / 1.236 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004743/0.8608, allocations: 268.3 kB / 1.236 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005989/0.8614, allocations: 0.5146 MB / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of Backend: time 4.5e-07/0.8614, allocations: 0 / 1.236 GB, free: 452 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.863, allocations: 0.6884 MB / 1.237 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002883/0.8659, allocations: 2.041 MB / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.02311/0.889, allocations: 13.29 MB / 1.252 GB, free: 500 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches