Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00147/0.00147, allocations: 105.5 kB / 16.41 MB, free: 6.465 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.001463/0.001463, allocations: 187 kB / 17.34 MB, free: 5.719 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7626/0.7641, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Validation.LimPIDReset): time 0.004858/0.769, allocations: 4.33 MB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003299/0.7723, allocations: 1.576 MB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008661/0.7732, allocations: 34.94 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.7736, allocations: 170.5 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007821/0.7745, allocations: 226.9 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.7759, allocations: 0.6727 MB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.7775, allocations: 1.234 MB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.7785, allocations: 0.5004 MB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008738/0.7794, allocations: 478.5 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/0.78, allocations: 462.5 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.7802, allocations: 101.2 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.7804, allocations: 102.7 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.7807, allocations: 236.7 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.7812, allocations: 493.4 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.7826, allocations: 1.154 MB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.7826, allocations: 1.188 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7826, allocations: 0 / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.413e-05/0.7827, allocations: 3.938 kB / 1.1 GB, free: 14.07 MB / 0.8731 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.002767/0.7854, allocations: 1.397 MB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.7855, allocations: 9.156 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.7857, allocations: 123.1 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.7872, allocations: 0.7621 MB / 1.102 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.7873, allocations: 79.19 kB / 1.102 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.7875, allocations: 70.98 kB / 1.102 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.7889, allocations: 0.735 MB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.7889, allocations: 4.531 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.789, allocations: 32.08 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.7891, allocations: 16.22 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.7903, allocations: 0.5214 MB / 1.104 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.7944, allocations: 2.249 MB / 1.106 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.7958, allocations: 0.6128 MB / 1.106 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005362/0.7964, allocations: 283 kB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.7964, allocations: 7.984 kB / 1.107 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000698/0.7971, allocations: 321.8 kB / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 5.41e-06/0.7972, allocations: 4 kB / 1.107 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.001744/0.7989, allocations: 0.7428 MB / 1.108 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.799, allocations: 89.59 kB / 1.108 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.8001, allocations: 0.764 MB / 1.109 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.461e-05/0.8002, allocations: 37.39 kB / 1.109 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.8005, allocations: 440.1 kB / 1.109 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.8007, allocations: 206.6 kB / 1.109 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.8009, allocations: 110.7 kB / 1.109 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8011, allocations: 326.6 kB / 1.11 GB, free: 8.453 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.8016, allocations: 211.3 kB / 1.11 GB, free: 8.371 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.8021, allocations: 305.7 kB / 1.11 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.8031, allocations: 0.5018 MB / 1.111 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8031, allocations: 0 / 1.111 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001445/0.8046, allocations: 0.658 MB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8046, allocations: 7.078 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.8046, allocations: 2.469 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.8046, allocations: 5.562 kB / 1.111 GB, free: 7.621 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.8053, allocations: 146 kB / 1.111 GB, free: 7.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.8053, allocations: 14.06 kB / 1.111 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.8059, allocations: 69.06 kB / 1.112 GB, free: 7.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/0.8059, allocations: 25.25 kB / 1.112 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006982/0.8066, allocations: 350.3 kB / 1.112 GB, free: 7.355 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005477/0.8072, allocations: 301.9 kB / 1.112 GB, free: 7.168 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009724/0.8082, allocations: 496.2 kB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.8082, allocations: 0.7031 kB / 1.113 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001263/0.8095, allocations: 0.6302 MB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8095, allocations: 6.547 kB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.8095, allocations: 2.781 kB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.8095, allocations: 5.062 kB / 1.113 GB, free: 6.605 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006208/0.8101, allocations: 139.4 kB / 1.113 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.8102, allocations: 5.562 kB / 1.113 GB, free: 6.594 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/0.8107, allocations: 62.92 kB / 1.114 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.8107, allocations: 21.11 kB / 1.114 GB, free: 6.551 MB / 0.8731 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.0002272/0.811, allocations: 218 kB / 1.114 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.8111, allocations: 91.53 kB / 1.114 GB, free: 6.293 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.8114, allocations: 106.3 kB / 1.114 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.8114, allocations: 5.156 kB / 1.114 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.8114, allocations: 4.969 kB / 1.114 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.8114, allocations: 3.703 kB / 1.114 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.8138, allocations: 1.437 MB / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.8138, allocations: 0 / 1.115 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.8144, allocations: 113.3 kB / 1.115 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.8144, allocations: 4.094 kB / 1.115 GB, free: 5.445 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.8145, allocations: 16.61 kB / 1.115 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.8145, allocations: 2.969 kB / 1.115 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8145, allocations: 0 / 1.115 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.8162, allocations: 0.9594 MB / 1.116 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.8165, allocations: 227.6 kB / 1.117 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.8166, allocations: 12.14 kB / 1.117 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.8171, allocations: 35.97 kB / 1.117 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.8172, allocations: 38.34 kB / 1.117 GB, free: 4.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.8172, allocations: 19.86 kB / 1.117 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006805/0.8179, allocations: 0.5202 MB / 1.117 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8179, allocations: 0 / 1.117 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007909/0.8187, allocations: 274 kB / 1.117 GB, free: 4.441 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001441/0.8189, allocations: 113.9 kB / 1.118 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.8206, allocations: 0.7905 MB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8206, allocations: 2.375 kB / 1.118 GB, free: 4.074 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.8211, allocations: 273.5 kB / 1.119 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.8223, allocations: 256.9 kB / 1.119 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.8251, allocations: 1.582 MB / 1.12 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.8257, allocations: 0.991 MB / 1.121 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.826, allocations: 65.28 kB / 1.121 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.826, allocations: 1.25 kB / 1.121 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of Templates: time 0.02157/0.8476, allocations: 11.02 MB / 1.132 GB, free: 1.043 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.sim & ./Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Validation_LimPIDReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches