Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.358/2.358, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001135/0.001135, allocations: 195.4 kB / 0.4902 GB, free: 2.289 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.672/1.672, allocations: 223.1 MB / 0.7992 GB, free: 15.7 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.001022/0.001022, allocations: 106.5 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 11.75 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2645, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.454, allocations: 152.1 MB / 1.378 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4543, allocations: 83.95 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04388/0.4982, allocations: 16.15 MB / 1.394 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4983, allocations: 4 kB / 1.394 GB, free: 12.92 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.716e-05/0.4983, allocations: 20 kB / 1.394 GB, free: 12.9 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002357/0.5007, allocations: 1.23 MB / 1.395 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5007, allocations: 8.031 kB / 1.395 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.501, allocations: 122.5 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.5019, allocations: 0.5608 MB / 1.395 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.502, allocations: 70 kB / 1.396 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.5021, allocations: 88 kB / 1.396 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5038, allocations: 0.8714 MB / 1.396 GB, free: 9.824 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5038, allocations: 7.938 kB / 1.397 GB, free: 9.816 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.5039, allocations: 36 kB / 1.397 GB, free: 9.781 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.5039, allocations: 20 kB / 1.397 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.5054, allocations: 0.6754 MB / 1.397 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.5096, allocations: 2.789 MB / 1.4 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5112, allocations: 0.8055 MB / 1.401 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.5112, allocations: 8.562 kB / 1.401 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007262/0.512, allocations: 392.2 kB / 1.401 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=75): time 3.146e-06/0.512, allocations: 4 kB / 1.401 GB, free: 5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75): time 0.001796/0.5138, allocations: 0.9341 MB / 1.402 GB, free: 4.059 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.5139, allocations: 196.6 kB / 1.402 GB, free: 3.824 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.5147, allocations: 0.6211 MB / 1.403 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.841e-05/0.5148, allocations: 41.7 kB / 1.403 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.5151, allocations: 416.3 kB / 1.403 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.5152, allocations: 245.9 kB / 1.403 GB, free: 2.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.5153, allocations: 19.94 kB / 1.404 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5154, allocations: 334 kB / 1.404 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.5161, allocations: 301.8 kB / 1.404 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.5168, allocations: 456.2 kB / 1.405 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.5176, allocations: 364.2 kB / 1.405 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5176, allocations: 4 kB / 1.405 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001668/0.5193, allocations: 0.8944 MB / 1.406 GB, free: 88 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.6096/1.129, allocations: 0.5632 MB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/1.129, allocations: 1.531 kB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.613e-05/1.129, allocations: 4.656 kB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009627/1.13, allocations: 161.3 kB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/1.13, allocations: 6.5 kB / 1.406 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/1.131, allocations: 167.9 kB / 1.407 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.131, allocations: 34.2 kB / 1.407 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/1.131, allocations: 4.312 kB / 1.407 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001709/1.133, allocations: 0.6525 MB / 1.407 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.133, allocations: 2.75 kB / 1.407 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.133, allocations: 3.875 kB / 1.407 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/1.133, allocations: 130.1 kB / 1.407 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.133, allocations: 6.312 kB / 1.407 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/1.134, allocations: 136.9 kB / 1.408 GB, free: 165.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/1.134, allocations: 24.45 kB / 1.408 GB, free: 165.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 7 ($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 (87): * Single equations (assignments): 86 * 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.0005421/1.134, allocations: 301.3 kB / 1.408 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/1.135, allocations: 83.61 kB / 1.408 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/1.136, allocations: 0.7345 MB / 1.409 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.136, allocations: 6.781 kB / 1.409 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.136, allocations: 1.094 kB / 1.409 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/1.136, allocations: 7.797 kB / 1.409 GB, free: 164.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/1.14, allocations: 1.776 MB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.14, allocations: 3.75 kB / 1.41 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/1.14, allocations: 150.1 kB / 1.411 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.14, allocations: 4.594 kB / 1.411 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/1.14, allocations: 21.09 kB / 1.411 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/1.14, allocations: 8.609 kB / 1.411 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.14, allocations: 2.406 kB / 1.411 GB, free: 164.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/1.143, allocations: 1.306 MB / 1.412 GB, free: 164.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/1.143, allocations: 178.1 kB / 1.412 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/1.143, allocations: 15.5 kB / 1.412 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/1.143, allocations: 64.86 kB / 1.412 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/1.143, allocations: 55.73 kB / 1.412 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/1.144, allocations: 22.88 kB / 1.412 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007426/1.144, allocations: 0.4964 MB / 1.413 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/1.144, allocations: 0 / 1.413 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001196/1.145, allocations: 323.9 kB / 1.413 GB, free: 163.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 6 ($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 (75): * Single equations (assignments): 74 * 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.0002829/1.146, allocations: 149.1 kB / 1.413 GB, free: 163.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002312/1.148, allocations: 1.179 MB / 1.414 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.148, allocations: 1.031 kB / 1.414 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006449/1.149, allocations: 345.6 kB / 1.415 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/1.15, allocations: 164 kB / 1.415 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/1.152, allocations: 1.806 MB / 1.417 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/1.153, allocations: 1.009 MB / 1.418 GB, free: 161.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004449/1.153, allocations: 104.9 kB / 1.418 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/1.153, allocations: 71.78 kB / 1.418 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of SimCode: time 8.52e-07/1.153, allocations: 0 / 1.418 GB, free: 161.8 MB / 0.9011 GB Notification: Performance of Templates: time 0.02039/1.174, allocations: 9.089 MB / 1.427 GB, free: 161.3 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches