Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.000989/0.000989, allocations: 180.1 kB / 492.3 MB, free: 0.6133 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.668/1.668, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.001115/0.001115, allocations: 98.86 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.952e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9675/1.252, allocations: 151.2 MB / 1.36 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.253, allocations: 77.8 kB / 1.36 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03954/1.292, allocations: 16.1 MB / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.284e-06/1.292, allocations: 0 / 1.376 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.048e-05/1.292, allocations: 19.53 kB / 1.376 GB, free: 33.18 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00191/1.294, allocations: 1.08 MB / 1.377 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.294, allocations: 11.62 kB / 1.377 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/1.295, allocations: 120.7 kB / 1.377 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/1.295, allocations: 0.5675 MB / 1.378 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/1.295, allocations: 70.16 kB / 1.378 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.296, allocations: 90.12 kB / 1.378 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/1.297, allocations: 0.7966 MB / 1.379 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/1.297, allocations: 0 / 1.379 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.272e-05/1.297, allocations: 38.25 kB / 1.379 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.297, allocations: 23.22 kB / 1.379 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/1.298, allocations: 0.5323 MB / 1.379 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003441/1.301, allocations: 2.783 MB / 1.382 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009329/1.302, allocations: 0.608 MB / 1.382 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/1.303, allocations: 345.6 kB / 1.383 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/1.303, allocations: 15.22 kB / 1.383 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/1.303, allocations: 326.6 kB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=75): time 2.675e-06/1.303, allocations: 7.844 kB / 1.383 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75): time 0.0008363/1.304, allocations: 0.5612 MB / 1.384 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/1.304, allocations: 188.4 kB / 1.384 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000642/1.305, allocations: 0.6113 MB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/1.305, allocations: 45.8 kB / 1.385 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/1.305, allocations: 403.2 kB / 1.385 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/1.305, allocations: 252.1 kB / 1.385 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/1.305, allocations: 15.97 kB / 1.385 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.306, allocations: 334.8 kB / 1.385 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/1.306, allocations: 228.7 kB / 1.386 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/1.306, allocations: 376 kB / 1.386 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/1.307, allocations: 287.5 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.307, allocations: 3.938 kB / 1.386 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009282/1.308, allocations: 0.7501 MB / 1.387 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.308, allocations: 0.557 MB / 1.388 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.308, allocations: 3.906 kB / 1.388 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.308, allocations: 3.906 kB / 1.388 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/1.308, allocations: 169.6 kB / 1.388 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.308, allocations: 3.719 kB / 1.388 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/1.309, allocations: 157.6 kB / 1.388 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/1.309, allocations: 33.61 kB / 1.388 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/1.309, allocations: 11.78 kB / 1.388 GB, free: 27.72 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008341/1.31, allocations: 0.6243 MB / 1.389 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/1.31, allocations: 3.688 kB / 1.389 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/1.31, allocations: 3.812 kB / 1.389 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/1.31, allocations: 129.3 kB / 1.389 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/1.31, allocations: 7.641 kB / 1.389 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/1.311, allocations: 126.8 kB / 1.389 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/1.311, allocations: 26.16 kB / 1.389 GB, free: 27.55 MB / 0.8386 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 () * 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.0001608/1.311, allocations: 154.5 kB / 1.389 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/1.311, allocations: 85.22 kB / 1.389 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008885/1.312, allocations: 0.6067 MB / 1.39 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.312, allocations: 7.688 kB / 1.39 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.312, allocations: 0 / 1.39 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.312, allocations: 15.78 kB / 1.39 GB, free: 27.23 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.314, allocations: 1.635 MB / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.314, allocations: 4.125 kB / 1.391 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/1.315, allocations: 152.6 kB / 1.391 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.315, allocations: 7.766 kB / 1.391 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/1.315, allocations: 25.62 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.315, allocations: 3.688 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.315, allocations: 3.719 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.316, allocations: 1.117 MB / 1.393 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.316, allocations: 176.2 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/1.316, allocations: 17.69 kB / 1.393 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003793/1.316, allocations: 65.02 kB / 1.393 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.583e-05/1.317, allocations: 54.8 kB / 1.393 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/1.317, allocations: 19.03 kB / 1.393 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005043/1.317, allocations: 494.8 kB / 1.393 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.317, allocations: 0 / 1.393 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009473/1.318, allocations: 324.8 kB / 1.394 GB, free: 25.61 MB / 0.8386 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 () * 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.0002805/1.318, allocations: 150.4 kB / 1.394 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.32, allocations: 1.047 MB / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.32, allocations: 0 / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/1.32, allocations: 278.7 kB / 1.395 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/1.321, allocations: 170.1 kB / 1.395 GB, free: 25.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.323, allocations: 1.143 MB / 1.396 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/1.323, allocations: 1.005 MB / 1.397 GB, free: 23.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005937/1.324, allocations: 130.9 kB / 1.397 GB, free: 23.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.324, allocations: 57.52 kB / 1.398 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of SimCode: time 1.572e-06/1.324, allocations: 0 / 1.398 GB, free: 23.76 MB / 0.8386 GB Notification: Performance of Templates: time 0.01604/1.34, allocations: 10.14 MB / 1.407 GB, free: 16.15 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PID.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches