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.278/2.278, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.001053/0.001053, allocations: 180.1 kB / 492.3 MB, free: 0.6094 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.532/1.532, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0009/0.0009001, allocations: 105.6 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.954e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2251, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.887/1.112, allocations: 157.5 MB / 1.366 GB, free: 18.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/1.112, allocations: 83.02 kB / 1.366 GB, free: 18.77 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04628/1.159, allocations: 19.83 MB / 1.386 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.103e-06/1.159, allocations: 0 / 1.386 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.344e-05/1.159, allocations: 18.94 kB / 1.386 GB, free: 30.38 MB / 0.8386 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.001465/1.16, allocations: 1.079 MB / 1.387 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.16, allocations: 11.69 kB / 1.387 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/1.16, allocations: 127.4 kB / 1.387 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.162, allocations: 0.7294 MB / 1.388 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/1.162, allocations: 84.09 kB / 1.388 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/1.162, allocations: 71.59 kB / 1.388 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000942/1.163, allocations: 0.7237 MB / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.163, allocations: 0 / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/1.163, allocations: 28.06 kB / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/1.163, allocations: 15.03 kB / 1.388 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/1.163, allocations: 499.1 kB / 1.389 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/1.166, allocations: 2.344 MB / 1.391 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/1.167, allocations: 0.5895 MB / 1.392 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/1.167, allocations: 223.8 kB / 1.392 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/1.167, allocations: 8.094 kB / 1.392 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/1.168, allocations: 307.6 kB / 1.392 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.195e-06/1.168, allocations: 0 / 1.392 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.000751/1.169, allocations: 0.5221 MB / 1.393 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/1.169, allocations: 136.7 kB / 1.393 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/1.169, allocations: 0.655 MB / 1.394 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/1.169, allocations: 36.39 kB / 1.394 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/1.17, allocations: 437 kB / 1.394 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.17, allocations: 208.8 kB / 1.394 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/1.17, allocations: 10.88 kB / 1.394 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/1.17, allocations: 327.8 kB / 1.395 GB, free: 26.18 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/1.17, allocations: 181.5 kB / 1.395 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/1.171, allocations: 301.7 kB / 1.395 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/1.171, allocations: 208.7 kB / 1.395 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.171, allocations: 0 / 1.395 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007554/1.172, allocations: 0.6153 MB / 1.396 GB, free: 25.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/1.172, allocations: 0.8716 MB / 1.397 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.172, allocations: 7.844 kB / 1.397 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.172, allocations: 7.672 kB / 1.397 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/1.173, allocations: 160.2 kB / 1.397 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.173, allocations: 3.812 kB / 1.397 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/1.173, allocations: 93.11 kB / 1.397 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/1.173, allocations: 18.94 kB / 1.397 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/1.173, allocations: 4.875 kB / 1.397 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007306/1.174, allocations: 0.5 MB / 1.397 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/1.174, allocations: 8.188 kB / 1.397 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/1.174, allocations: 3.844 kB / 1.397 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/1.175, allocations: 152.7 kB / 1.398 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.175, allocations: 11.48 kB / 1.398 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/1.175, allocations: 77.19 kB / 1.398 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/1.175, allocations: 23.11 kB / 1.398 GB, free: 24.73 MB / 0.8386 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 () * 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.0001451/1.176, allocations: 143 kB / 1.398 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.176, allocations: 89.31 kB / 1.398 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/1.176, allocations: 106 kB / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.176, allocations: 3.75 kB / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.176, allocations: 0 / 1.398 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.176, allocations: 7.922 kB / 1.398 GB, free: 24.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/1.178, allocations: 1.442 MB / 1.399 GB, free: 23.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.178, allocations: 3.938 kB / 1.399 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/1.178, allocations: 116.2 kB / 1.4 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.178, allocations: 3.906 kB / 1.4 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.045e-05/1.178, allocations: 18.69 kB / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.178, allocations: 0 / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.178, allocations: 0 / 1.4 GB, free: 23.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/1.179, allocations: 0.914 MB / 1.4 GB, free: 23.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/1.18, allocations: 239.9 kB / 1.401 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.703e-05/1.18, allocations: 10.97 kB / 1.401 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/1.18, allocations: 56.73 kB / 1.401 GB, free: 23.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/1.18, allocations: 35.42 kB / 1.401 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/1.18, allocations: 19.05 kB / 1.401 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005314/1.181, allocations: 0.5027 MB / 1.401 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.181, allocations: 0 / 1.401 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006761/1.182, allocations: 289.9 kB / 1.402 GB, free: 23.27 MB / 0.8386 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 () * 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.000183/1.182, allocations: 131.7 kB / 1.402 GB, free: 23.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.183, allocations: 0.7818 MB / 1.403 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.183, allocations: 1 kB / 1.403 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000354/1.183, allocations: 252.9 kB / 1.403 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/1.184, allocations: 230.6 kB / 1.403 GB, free: 22.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/1.187, allocations: 1.17 MB / 1.404 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.187, allocations: 1.019 MB / 1.405 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008085/1.188, allocations: 169.5 kB / 1.405 GB, free: 20.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/1.188, allocations: 47.42 kB / 1.405 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/1.188, allocations: 4 kB / 1.405 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.01717/1.205, allocations: 10.76 MB / 1.416 GB, free: 9.48 MB / 0.8386 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