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.179/2.179, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.00101/0.00101, allocations: 176.6 kB / 487.4 MB, free: 5.051 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.518/1.518, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009404, allocations: 103.7 kB / 0.9219 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.494e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2949, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9634/1.258, allocations: 156.9 MB / 1.359 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.259, allocations: 77.3 kB / 1.359 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04823/1.307, allocations: 19.68 MB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.273e-06/1.307, allocations: 3.938 kB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001005/1.307, allocations: 23.38 kB / 1.378 GB, free: 31.36 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.001884/1.309, allocations: 1.076 MB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.309, allocations: 11.62 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/1.309, allocations: 124.3 kB / 1.38 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/1.311, allocations: 0.7243 MB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/1.311, allocations: 58.58 kB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.972e-05/1.311, allocations: 42.34 kB / 1.38 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007524/1.311, allocations: 443.7 kB / 1.381 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/1.312, allocations: 0.6331 MB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/1.312, allocations: 3.812 kB / 1.381 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/1.312, allocations: 3.984 kB / 1.381 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/1.312, allocations: 19.34 kB / 1.382 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/1.316, allocations: 2.202 MB / 1.384 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008966/1.316, allocations: 0.5613 MB / 1.384 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/1.317, allocations: 208.6 kB / 1.384 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/1.317, allocations: 7.938 kB / 1.384 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/1.317, allocations: 285.2 kB / 1.385 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.765e-06/1.317, allocations: 0 / 1.385 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0008028/1.318, allocations: 493.8 kB / 1.385 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.318, allocations: 136.6 kB / 1.385 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/1.319, allocations: 0.5569 MB / 1.386 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/1.319, allocations: 29.45 kB / 1.386 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/1.319, allocations: 445.4 kB / 1.386 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.319, allocations: 192.3 kB / 1.386 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/1.319, allocations: 0 / 1.386 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.32, allocations: 332.3 kB / 1.387 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/1.32, allocations: 171.7 kB / 1.387 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/1.32, allocations: 290 kB / 1.387 GB, free: 27.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/1.32, allocations: 192.1 kB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.32, allocations: 3.812 kB / 1.387 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000809/1.321, allocations: 0.5528 MB / 1.388 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003932/1.322, allocations: 0.8769 MB / 1.389 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.322, allocations: 3.938 kB / 1.389 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/1.322, allocations: 11.84 kB / 1.389 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008452/1.323, allocations: 162 kB / 1.389 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.323, allocations: 7.781 kB / 1.389 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/1.323, allocations: 70.39 kB / 1.389 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/1.323, allocations: 22.77 kB / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-06/1.323, allocations: 5.875 kB / 1.389 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006014/1.324, allocations: 442.4 kB / 1.389 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.324, allocations: 3.938 kB / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.251e-06/1.324, allocations: 11.88 kB / 1.39 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/1.324, allocations: 154.3 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.324, allocations: 3.844 kB / 1.39 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/1.325, allocations: 50.72 kB / 1.39 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/1.325, allocations: 27.97 kB / 1.39 GB, free: 25.82 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.0002047/1.325, allocations: 121.1 kB / 1.39 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.325, allocations: 97.34 kB / 1.39 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/1.326, allocations: 83.19 kB / 1.39 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.326, allocations: 7.719 kB / 1.39 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/1.326, allocations: 0 / 1.39 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/1.326, allocations: 3.984 kB / 1.39 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/1.328, allocations: 1.325 MB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.328, allocations: 3.984 kB / 1.391 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006805/1.328, allocations: 108.5 kB / 1.391 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.328, allocations: 0 / 1.391 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/1.328, allocations: 11.73 kB / 1.391 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.328, allocations: 7.859 kB / 1.391 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.328, allocations: 4 kB / 1.391 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/1.33, allocations: 0.8589 MB / 1.392 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/1.33, allocations: 229.9 kB / 1.393 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/1.33, allocations: 2.688 kB / 1.393 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006205/1.331, allocations: 46.11 kB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.331, allocations: 31.08 kB / 1.393 GB, free: 24.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/1.331, allocations: 22.58 kB / 1.393 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005601/1.331, allocations: 435.3 kB / 1.393 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.331, allocations: 0 / 1.393 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009321/1.332, allocations: 267.8 kB / 1.393 GB, free: 24.41 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.000304/1.333, allocations: 106.4 kB / 1.393 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001191/1.334, allocations: 0.7419 MB / 1.394 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.334, allocations: 0 / 1.394 GB, free: 24.26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002996/1.334, allocations: 236.7 kB / 1.394 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/1.335, allocations: 208.5 kB / 1.395 GB, free: 24.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/1.337, allocations: 1.138 MB / 1.396 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/1.338, allocations: 1.01 MB / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007342/1.339, allocations: 170.5 kB / 1.397 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/1.339, allocations: 46 kB / 1.397 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.339, allocations: 0 / 1.397 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.01455/1.353, allocations: 9.683 MB / 1.406 GB, free: 18.12 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