Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.34 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: 184.8 kB / 487.4 MB, free: 5.043 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.557/1.557, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0009138/0.0009139, allocations: 95.91 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.991e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3276, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.384, allocations: 149.7 MB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/1.384, allocations: 77.36 kB / 1.352 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01649/1.4, allocations: 6.393 MB / 1.358 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.915e-06/1.401, allocations: 0 / 1.358 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.069e-05/1.401, allocations: 15.62 kB / 1.358 GB, free: 33.74 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001109/1.402, allocations: 0.6098 MB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.402, allocations: 11.59 kB / 1.359 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/1.402, allocations: 50.56 kB / 1.359 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/1.402, allocations: 329.1 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/1.402, allocations: 11.38 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/1.403, allocations: 27.03 kB / 1.359 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004322/1.403, allocations: 222.2 kB / 1.36 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/1.404, allocations: 325.3 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.404, allocations: 0 / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/1.404, allocations: 0 / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/1.404, allocations: 13.66 kB / 1.36 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/1.405, allocations: 1.205 MB / 1.361 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/1.406, allocations: 201.6 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/1.406, allocations: 135.9 kB / 1.362 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.406, allocations: 11.78 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/1.406, allocations: 166.7 kB / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.295e-06/1.406, allocations: 0 / 1.362 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003762/1.407, allocations: 209.4 kB / 1.362 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.407, allocations: 135.5 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/1.407, allocations: 250.7 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/1.407, allocations: 33.55 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.407, allocations: 232.5 kB / 1.363 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/1.407, allocations: 85.3 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.407, allocations: 0 / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.407, allocations: 336.5 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/1.408, allocations: 80.78 kB / 1.363 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.408, allocations: 164.2 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/1.408, allocations: 98.84 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.408, allocations: 0 / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003661/1.408, allocations: 280.2 kB / 1.364 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002374/1.409, allocations: 0.532 MB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.409, allocations: 3.875 kB / 1.364 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.409, allocations: 3.938 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/1.409, allocations: 76.47 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/1.409, allocations: 6.797 kB / 1.364 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/1.409, allocations: 47.83 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/1.409, allocations: 11.19 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.409, allocations: 5.562 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002894/1.409, allocations: 204.9 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.409, allocations: 3.969 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/1.409, allocations: 7.844 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/1.41, allocations: 55.84 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.41, allocations: 3.844 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/1.41, allocations: 25.95 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/1.41, allocations: 13.97 kB / 1.364 GB, free: 30.68 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001132/1.41, allocations: 109.9 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/1.41, allocations: 39.11 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/1.41, allocations: 157.9 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.41, allocations: 0 / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.41, allocations: 3.875 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/1.41, allocations: 3.094 kB / 1.365 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/1.411, allocations: 0.9042 MB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/1.411, allocations: 3.625 kB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/1.412, allocations: 64.72 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.412, allocations: 6.922 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.412, allocations: 3.875 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.412, allocations: 7.781 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.412, allocations: 3.812 kB / 1.366 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005757/1.412, allocations: 0.6919 MB / 1.366 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/1.412, allocations: 114.7 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/1.412, allocations: 3.781 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/1.413, allocations: 26.08 kB / 1.367 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/1.413, allocations: 29.88 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.413, allocations: 14.28 kB / 1.367 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001922/1.413, allocations: 195.3 kB / 1.367 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.81e-07/1.413, allocations: 3.938 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005456/1.414, allocations: 132.5 kB / 1.367 GB, free: 29.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 0.0001895/1.414, allocations: 121.2 kB / 1.367 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004813/1.414, allocations: 329 kB / 1.367 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.414, allocations: 3.844 kB / 1.367 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/1.414, allocations: 94.53 kB / 1.367 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/1.415, allocations: 73.44 kB / 1.368 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.416, allocations: 0.5403 MB / 1.368 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/1.416, allocations: 0.8108 MB / 1.369 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002339/1.417, allocations: 50.77 kB / 1.369 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/1.417, allocations: 22.94 kB / 1.369 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.417, allocations: 4 kB / 1.369 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.007316/1.424, allocations: 3.093 MB / 1.372 GB, free: 27.89 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches