Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPIDOri.y|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 393.5 MB / 408.4 MB, free: 11.12 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.001487/0.001487, allocations: 179.9 kB / 0.4902 GB, free: 2.297 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.565/1.565, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.000864/0.0008641, allocations: 94.88 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 16.25 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3367, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.6061, allocations: 155.2 MB / 1.381 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.6065, allocations: 87.94 kB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07574/0.6823, allocations: 24.43 MB / 1.405 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6823, allocations: 0 / 1.405 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001165/0.6825, allocations: 31.98 kB / 1.405 GB, free: 5.855 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003526/0.686, allocations: 1.499 MB / 1.406 GB, free: 4.293 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6861, allocations: 12.52 kB / 1.406 GB, free: 4.281 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.6867, allocations: 154.1 kB / 1.406 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.6885, allocations: 0.7698 MB / 1.407 GB, free: 3.316 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.6886, allocations: 86.17 kB / 1.407 GB, free: 3.23 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.6888, allocations: 115.9 kB / 1.407 GB, free: 3.117 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.6911, allocations: 1.112 MB / 1.408 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.6911, allocations: 0 / 1.408 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.6912, allocations: 48 kB / 1.408 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.6912, allocations: 28 kB / 1.408 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.6931, allocations: 0.859 MB / 1.409 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006046/0.6992, allocations: 3.706 MB / 1.413 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.7015, allocations: 1.086 MB / 1.414 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.7016, allocations: 9 kB / 1.414 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009652/0.7026, allocations: 465 kB / 1.414 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=92): time 2.946e-06/0.7026, allocations: 0 / 1.414 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=92): time 0.002379/0.705, allocations: 1.132 MB / 1.416 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.7051, allocations: 214.6 kB / 1.416 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.7064, allocations: 0.7755 MB / 1.416 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.7065, allocations: 49.69 kB / 1.417 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005154/0.7071, allocations: 0.524 MB / 1.417 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.7073, allocations: 307.5 kB / 1.417 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.7074, allocations: 24 kB / 1.417 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7076, allocations: 337.9 kB / 1.418 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.7083, allocations: 345.8 kB / 1.418 GB, free: 7.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008577/0.7092, allocations: 0.5114 MB / 1.419 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.71, allocations: 408.6 kB / 1.419 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.71, allocations: 7.938 kB / 1.419 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002071/0.712, allocations: 1.025 MB / 1.42 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003349/0.7124, allocations: 0.6478 MB / 1.421 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.7124, allocations: 0 / 1.421 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/0.7124, allocations: 8 kB / 1.421 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/0.7132, allocations: 203.7 kB / 1.421 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.7132, allocations: 4 kB / 1.421 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.7141, allocations: 183 kB / 1.421 GB, free: 4.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.7142, allocations: 39.94 kB / 1.421 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.7142, allocations: 4 kB / 1.421 GB, free: 4.688 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001166/0.7153, allocations: 0.7317 MB / 1.422 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7154, allocations: 4 kB / 1.422 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-06/0.7154, allocations: 4 kB / 1.422 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/0.7159, allocations: 156 kB / 1.422 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.716, allocations: 11.94 kB / 1.422 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006849/0.7166, allocations: 143.2 kB / 1.422 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.7167, allocations: 28 kB / 1.422 GB, free: 3.613 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 1 * 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.000601/0.7173, allocations: 334.1 kB / 1.422 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.7175, allocations: 114.5 kB / 1.422 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.7178, allocations: 115.8 kB / 1.423 GB, free: 3.051 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7178, allocations: 19.92 kB / 1.423 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/0.7178, allocations: 0 / 1.423 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.7179, allocations: 7.984 kB / 1.423 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/0.7209, allocations: 1.883 MB / 1.424 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.7209, allocations: 0 / 1.424 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.7216, allocations: 187.8 kB / 1.425 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.7217, allocations: 4 kB / 1.425 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.7217, allocations: 16 kB / 1.425 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.7218, allocations: 7.938 kB / 1.425 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7218, allocations: 3.984 kB / 1.425 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5794/1.301, allocations: 1.357 MB / 1.426 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/1.302, allocations: 200.2 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/1.302, allocations: 22.53 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/1.303, allocations: 78.97 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/1.303, allocations: 50.11 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/1.303, allocations: 24.28 kB / 1.426 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009896/1.304, allocations: 0.6106 MB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.21e-07/1.304, allocations: 0 / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001228/1.305, allocations: 406.1 kB / 1.427 GB, free: 179.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * 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.0002603/1.305, allocations: 145.5 kB / 1.427 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00227/1.308, allocations: 1.336 MB / 1.429 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.308, allocations: 2.125 kB / 1.429 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006438/1.308, allocations: 412.5 kB / 1.429 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/1.309, allocations: 225.6 kB / 1.429 GB, free: 179.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/1.313, allocations: 2.29 MB / 1.432 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/1.314, allocations: 1.111 MB / 1.433 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006784/1.314, allocations: 131.9 kB / 1.433 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.315, allocations: 79.48 kB / 1.433 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of SimCode: time 2.044e-06/1.315, allocations: 3.719 kB / 1.433 GB, free: 177.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.02993/1.345, allocations: 11.25 MB / 1.444 GB, free: 176.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_LimPID.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches