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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 177.8 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.763/1.763, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 91.2 kB / 0.9346 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003704/0.0003704, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.5342, allocations: 157.6 MB / 1.377 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5346, allocations: 83.89 kB / 1.377 GB, free: 4.457 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05974/0.5943, allocations: 19.85 MB / 1.396 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.577e-06/0.5944, allocations: 0 / 1.396 GB, free: 0.5586 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002191/0.5946, allocations: 24 kB / 1.396 GB, free: 0.5352 MB / 0.8855 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.004031/0.5987, allocations: 1.237 MB / 1.397 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5988, allocations: 12.02 kB / 1.397 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006066/0.5994, allocations: 122.5 kB / 1.398 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.6016, allocations: 0.7268 MB / 1.398 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.6018, allocations: 87.62 kB / 1.398 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.6021, allocations: 79.94 kB / 1.398 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.6041, allocations: 0.7786 MB / 1.399 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6042, allocations: 0 / 1.399 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.6043, allocations: 24 kB / 1.399 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.6043, allocations: 28 kB / 1.399 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.6058, allocations: 0.5672 MB / 1.4 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00505/0.6108, allocations: 2.345 MB / 1.402 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.6127, allocations: 0.7012 MB / 1.403 GB, free: 9.598 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/0.6128, allocations: 16.53 kB / 1.403 GB, free: 9.582 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000876/0.6137, allocations: 347 kB / 1.403 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=60): time 6.321e-06/0.6137, allocations: 4 kB / 1.403 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60): time 0.002039/0.6158, allocations: 0.8146 MB / 1.404 GB, free: 8.398 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.6159, allocations: 145 kB / 1.404 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.6173, allocations: 0.661 MB / 1.405 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.6174, allocations: 41.69 kB / 1.405 GB, free: 7.516 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.6179, allocations: 432.5 kB / 1.405 GB, free: 7.086 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.6182, allocations: 216.9 kB / 1.405 GB, free: 6.871 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.6182, allocations: 8 kB / 1.405 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.6184, allocations: 330 kB / 1.406 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/0.619, allocations: 225.2 kB / 1.406 GB, free: 6.312 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/0.6197, allocations: 342.1 kB / 1.406 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.6203, allocations: 254.1 kB / 1.407 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.6204, allocations: 4 kB / 1.407 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001745/0.6221, allocations: 0.6971 MB / 1.407 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005423/0.6227, allocations: 0.8715 MB / 1.408 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6227, allocations: 4 kB / 1.408 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/0.6227, allocations: 7.953 kB / 1.408 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009468/0.6237, allocations: 163.8 kB / 1.408 GB, free: 3.879 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/0.6237, allocations: 11.92 kB / 1.408 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.6245, allocations: 79.5 kB / 1.408 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.6246, allocations: 20 kB / 1.408 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.6246, allocations: 4 kB / 1.408 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/0.6258, allocations: 0.5597 MB / 1.409 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.6258, allocations: 4 kB / 1.409 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.6258, allocations: 4 kB / 1.409 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.6266, allocations: 152 kB / 1.409 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.6267, allocations: 15.94 kB / 1.409 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.6274, allocations: 79.34 kB / 1.409 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.6274, allocations: 20 kB / 1.409 GB, free: 2.934 MB / 0.9011 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,$whenCondition2,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDInp.trigger,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006247/0.6281, allocations: 297 kB / 1.409 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.6284, allocations: 98.77 kB / 1.41 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.6287, allocations: 105.2 kB / 1.41 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6287, allocations: 4 kB / 1.41 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.6288, allocations: 0 / 1.41 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6288, allocations: 4 kB / 1.41 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.6318, allocations: 1.521 MB / 1.411 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6319, allocations: 11.88 kB / 1.411 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/0.6325, allocations: 107.9 kB / 1.411 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6325, allocations: 4 kB / 1.411 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.6326, allocations: 12 kB / 1.411 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.6326, allocations: 4 kB / 1.411 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6326, allocations: 0 / 1.411 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.6347, allocations: 1.045 MB / 1.412 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.6352, allocations: 235.7 kB / 1.412 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6353, allocations: 20 kB / 1.412 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.636, allocations: 47.95 kB / 1.413 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6361, allocations: 36.5 kB / 1.413 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.6362, allocations: 16 kB / 1.413 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009257/0.6371, allocations: 0.5224 MB / 1.413 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6371, allocations: 0 / 1.413 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00107/0.6382, allocations: 284.9 kB / 1.413 GB, free: 14.48 MB / 0.9167 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 (limPIDInp.trigger,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002375/0.6384, allocations: 127 kB / 1.413 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.6405, allocations: 0.8661 MB / 1.414 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6405, allocations: 0 / 1.414 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/0.6411, allocations: 303.6 kB / 1.415 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6423, allocations: 219.5 kB / 1.415 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.646, allocations: 1.819 MB / 1.417 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.6469, allocations: 1.017 MB / 1.418 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007663/0.6476, allocations: 118.5 kB / 1.418 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.6479, allocations: 63.42 kB / 1.418 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of SimCode: time 1.453e-06/0.6479, allocations: 0 / 1.418 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of Templates: time 0.02085/0.6688, allocations: 9.101 MB / 1.427 GB, free: 0.9141 MB / 0.9167 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","../files/Buildings_9_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches