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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.001729/0.001729, allocations: 116.2 kB / 16.42 MB, free: 6.5 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.001732/0.001732, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.645/2.645, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.001461, allocations: 67.83 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7624/0.7638, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.006008/0.7699, allocations: 4.335 MB / 1.231 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.7733, allocations: 1.578 MB / 1.232 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.7742, allocations: 35.81 kB / 1.232 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.7748, allocations: 170.2 kB / 1.232 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.776, allocations: 244.7 kB / 1.233 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.7776, allocations: 0.6606 MB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.7791, allocations: 1.234 MB / 1.234 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.7798, allocations: 0.5002 MB / 1.235 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.7804, allocations: 473.9 kB / 1.235 GB, free: 4.238 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.7808, allocations: 461.4 kB / 1.236 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.7809, allocations: 104 kB / 1.236 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.7811, allocations: 104 kB / 1.236 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.7813, allocations: 235.1 kB / 1.236 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.7816, allocations: 493 kB / 1.237 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.7827, allocations: 1.159 MB / 1.238 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.7827, allocations: 4 kB / 1.238 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7827, allocations: 0 / 1.238 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.7827, allocations: 0 / 1.238 GB, free: 1.703 MB / 0.9512 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.002248/0.7849, allocations: 1.433 MB / 1.239 GB, free: 220 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.785, allocations: 12.03 kB / 1.239 GB, free: 208 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.7852, allocations: 124.1 kB / 1.239 GB, free: 84 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7865, allocations: 0.7712 MB / 1.24 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.7866, allocations: 84.27 kB / 1.24 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.619e-05/0.7867, allocations: 76.27 kB / 1.24 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.7879, allocations: 0.7329 MB / 1.241 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.788, allocations: 3.938 kB / 1.241 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.983e-05/0.788, allocations: 32 kB / 1.241 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7881, allocations: 19.98 kB / 1.241 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.7892, allocations: 0.5165 MB / 1.241 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.7924, allocations: 2.252 MB / 1.244 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.7939, allocations: 0.6131 MB / 1.244 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.7944, allocations: 276.1 kB / 1.245 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.7944, allocations: 8.562 kB / 1.245 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/0.7951, allocations: 327 kB / 1.245 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/0.7951, allocations: 0 / 1.245 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=60): time 0.001547/0.7966, allocations: 0.7562 MB / 1.246 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.7967, allocations: 85.67 kB / 1.246 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/0.7976, allocations: 0.7594 MB / 1.246 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.7976, allocations: 37.7 kB / 1.246 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.798, allocations: 449 kB / 1.247 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7981, allocations: 218.1 kB / 1.247 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.7983, allocations: 110.3 kB / 1.247 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.7984, allocations: 330 kB / 1.248 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.7989, allocations: 211.4 kB / 1.248 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004917/0.7994, allocations: 300.5 kB / 1.248 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.8003, allocations: 0.4996 MB / 1.248 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8003, allocations: 4 kB / 1.248 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00119/0.8015, allocations: 0.6583 MB / 1.249 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8016, allocations: 13.7 kB / 1.249 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8016, allocations: 256 / 1.249 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.8016, allocations: 12 kB / 1.249 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.8022, allocations: 139.8 kB / 1.249 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.8023, allocations: 4 kB / 1.249 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.8027, allocations: 79.47 kB / 1.249 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.8027, allocations: 20 kB / 1.249 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005918/0.8033, allocations: 361.4 kB / 1.25 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004744/0.8038, allocations: 284.5 kB / 1.25 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008621/0.8047, allocations: 499.6 kB / 1.25 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.884e-06/0.8047, allocations: 0 / 1.25 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001111/0.8058, allocations: 0.639 MB / 1.251 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.8058, allocations: 7.984 kB / 1.251 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8058, allocations: 4 kB / 1.251 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.8059, allocations: 7.938 kB / 1.251 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000599/0.8065, allocations: 147.7 kB / 1.251 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.8065, allocations: 4 kB / 1.251 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.807, allocations: 59.91 kB / 1.251 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.807, allocations: 27.92 kB / 1.251 GB, free: 3.344 MB / 0.9669 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.0001754/0.8072, allocations: 216.6 kB / 1.252 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.8073, allocations: 99.34 kB / 1.252 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.8076, allocations: 105.1 kB / 1.252 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.8076, allocations: 3.984 kB / 1.252 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8076, allocations: 0 / 1.252 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.8079, allocations: 228.2 kB / 1.252 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.808, allocations: 19.98 kB / 1.252 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.8084, allocations: 27.97 kB / 1.252 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.8085, allocations: 36.52 kB / 1.252 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001568/0.8101, allocations: 0.6705 MB / 1.253 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001749/0.8118, allocations: 1.083 MB / 1.254 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004856/0.8123, allocations: 260.4 kB / 1.254 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005771/0.8129, allocations: 0.5185 MB / 1.255 GB, free: 52 kB / 0.9669 GB Notification: Performance of Backend: time 3.61e-07/0.8129, allocations: 0 / 1.255 GB, free: 52 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.8145, allocations: 0.6877 MB / 1.255 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002695/0.8172, allocations: 2.073 MB / 1.257 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.02078/0.838, allocations: 12.9 MB / 1.27 GB, free: 472 kB / 0.9825 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