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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.452/2.452, allocations: 390.5 MB / 398 MB, free: 10.97 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.002036/0.002036, allocations: 180.3 kB / 491.2 MB, free: 1.609 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.633/1.633, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009343/0.000934, allocations: 91.91 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.516e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.305, allocations: 157.7 MB / 1.366 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/1.305, allocations: 74.92 kB / 1.366 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04933/1.354, allocations: 19.68 MB / 1.386 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.244e-06/1.354, allocations: 0 / 1.386 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000269/1.355, allocations: 31.22 kB / 1.386 GB, free: 29.48 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.003585/1.358, allocations: 1.08 MB / 1.387 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/1.358, allocations: 7.156 kB / 1.387 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008172/1.359, allocations: 123 kB / 1.387 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/1.361, allocations: 0.7256 MB / 1.387 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/1.362, allocations: 62.36 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/1.362, allocations: 42.41 kB / 1.388 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/1.363, allocations: 461.2 kB / 1.388 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/1.364, allocations: 0.6186 MB / 1.389 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.364, allocations: 7.625 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/1.364, allocations: 0 / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/1.364, allocations: 15.06 kB / 1.389 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003598/1.368, allocations: 2.217 MB / 1.391 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009492/1.369, allocations: 0.5612 MB / 1.391 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/1.369, allocations: 204.7 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/1.369, allocations: 7.859 kB / 1.392 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/1.369, allocations: 288 kB / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/1.369, allocations: 0 / 1.392 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.0007708/1.37, allocations: 492.8 kB / 1.392 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/1.37, allocations: 140.1 kB / 1.392 GB, free: 26.22 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006028/1.371, allocations: 0.5531 MB / 1.393 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/1.371, allocations: 29.52 kB / 1.393 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/1.371, allocations: 446.6 kB / 1.393 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.371, allocations: 197.4 kB / 1.394 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/1.371, allocations: 4 kB / 1.394 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/1.371, allocations: 328.4 kB / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/1.372, allocations: 169.4 kB / 1.394 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/1.372, allocations: 285.3 kB / 1.394 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/1.372, allocations: 198.7 kB / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.372, allocations: 0 / 1.395 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007648/1.373, allocations: 0.5604 MB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002817/1.373, allocations: 0.8727 MB / 1.396 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/1.373, allocations: 3.844 kB / 1.396 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.373, allocations: 3.875 kB / 1.396 GB, free: 24.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008006/1.374, allocations: 166.6 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.374, allocations: 7.797 kB / 1.396 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/1.375, allocations: 61.55 kB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/1.375, allocations: 18.75 kB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/1.375, allocations: 3.844 kB / 1.396 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000614/1.375, allocations: 451.6 kB / 1.397 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/1.375, allocations: 3.984 kB / 1.397 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/1.375, allocations: 7.406 kB / 1.397 GB, free: 23.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/1.376, allocations: 154.4 kB / 1.397 GB, free: 23.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/1.376, allocations: 12 kB / 1.397 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/1.377, allocations: 54.16 kB / 1.397 GB, free: 23.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/1.377, allocations: 22.58 kB / 1.397 GB, free: 23.92 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.0001495/1.377, allocations: 120.2 kB / 1.397 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.377, allocations: 92.8 kB / 1.397 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/1.377, allocations: 99.86 kB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.377, allocations: 3.812 kB / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.377, allocations: 0 / 1.397 GB, free: 23.72 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.377, allocations: 3.984 kB / 1.397 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/1.379, allocations: 1.312 MB / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.379, allocations: 0 / 1.398 GB, free: 23.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005352/1.379, allocations: 120.2 kB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/1.379, allocations: 3.688 kB / 1.399 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/1.379, allocations: 7.938 kB / 1.399 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.379, allocations: 3.969 kB / 1.399 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.379, allocations: 0 / 1.399 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/1.38, allocations: 0.8685 MB / 1.399 GB, free: 22.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/1.381, allocations: 223.9 kB / 1.4 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/1.381, allocations: 3.844 kB / 1.4 GB, free: 22.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/1.381, allocations: 46.52 kB / 1.4 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/1.381, allocations: 34.5 kB / 1.4 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/1.381, allocations: 22.77 kB / 1.4 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004537/1.382, allocations: 434.4 kB / 1.4 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.382, allocations: 3.844 kB / 1.4 GB, free: 22.58 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007135/1.383, allocations: 264.6 kB / 1.4 GB, free: 22.52 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.0001678/1.383, allocations: 106.5 kB / 1.401 GB, free: 22.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000985/1.384, allocations: 0.7363 MB / 1.401 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.384, allocations: 4.062 kB / 1.401 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002931/1.384, allocations: 235.9 kB / 1.401 GB, free: 22.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/1.385, allocations: 214.8 kB / 1.402 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/1.387, allocations: 1.136 MB / 1.403 GB, free: 21.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/1.387, allocations: 1.015 MB / 1.404 GB, free: 20.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0007473/1.388, allocations: 158.4 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/1.388, allocations: 53.89 kB / 1.404 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.388, allocations: 0 / 1.404 GB, free: 20.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.01661/1.405, allocations: 9.68 MB / 1.413 GB, free: 11.41 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.Continuous.Validation.LimPIDReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches