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.29/2.29, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001798/0.001798, allocations: 180.9 kB / 492.3 MB, free: 0.6211 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.806/1.806, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001067/0.001067, allocations: 101.7 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.423e-05, allocations: 12 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3111, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.341, allocations: 150.3 MB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.342, allocations: 71.53 kB / 1.359 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02221/1.364, allocations: 6.451 MB / 1.366 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.364, allocations: 0 / 1.366 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.298e-05/1.364, allocations: 11.69 kB / 1.366 GB, free: 34.43 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.001089/1.365, allocations: 0.6089 MB / 1.366 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.365, allocations: 15.53 kB / 1.366 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/1.365, allocations: 50.41 kB / 1.366 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000533/1.366, allocations: 331.7 kB / 1.367 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/1.366, allocations: 30.59 kB / 1.367 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/1.366, allocations: 46.5 kB / 1.367 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/1.367, allocations: 376.4 kB / 1.367 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.367, allocations: 0 / 1.367 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/1.367, allocations: 17.31 kB / 1.367 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/1.367, allocations: 11.69 kB / 1.367 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/1.367, allocations: 243 kB / 1.367 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/1.37, allocations: 1.31 MB / 1.369 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/1.37, allocations: 222 kB / 1.369 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/1.371, allocations: 135.3 kB / 1.369 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/1.371, allocations: 14.53 kB / 1.369 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/1.371, allocations: 165 kB / 1.369 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 2.425e-06/1.371, allocations: 0 / 1.369 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0006201/1.372, allocations: 237.2 kB / 1.369 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/1.372, allocations: 132.4 kB / 1.369 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/1.372, allocations: 347.6 kB / 1.37 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/1.372, allocations: 33.3 kB / 1.37 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/1.373, allocations: 232.7 kB / 1.37 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/1.373, allocations: 91.52 kB / 1.37 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/1.373, allocations: 10.94 kB / 1.37 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.373, allocations: 345.3 kB / 1.37 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.373, allocations: 81.75 kB / 1.371 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/1.373, allocations: 178.5 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/1.374, allocations: 91.03 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.374, allocations: 3.969 kB / 1.371 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006695/1.374, allocations: 311.1 kB / 1.371 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/1.375, allocations: 0.5272 MB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.375, allocations: 7.797 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.375, allocations: 3.812 kB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/1.375, allocations: 70.47 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.375, allocations: 7.781 kB / 1.372 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/1.376, allocations: 59.23 kB / 1.372 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/1.376, allocations: 10.59 kB / 1.372 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/1.376, allocations: 3.781 kB / 1.372 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005176/1.376, allocations: 233.7 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.376, allocations: 1.875 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-06/1.376, allocations: 3.844 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/1.377, allocations: 60.05 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.377, allocations: 3.875 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/1.377, allocations: 47.98 kB / 1.372 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.377, allocations: 13.92 kB / 1.372 GB, free: 31.3 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.0001382/1.377, allocations: 125.4 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/1.377, allocations: 42.7 kB / 1.372 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/1.378, allocations: 187.6 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.378, allocations: 3.844 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.378, allocations: 0 / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-06/1.378, allocations: 0 / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.379, allocations: 0.9911 MB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/1.38, allocations: 3.969 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/1.38, allocations: 62.11 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.38, allocations: 7.844 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/1.38, allocations: 9.438 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/1.38, allocations: 11.62 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.38, allocations: 3.953 kB / 1.373 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009041/1.381, allocations: 0.7142 MB / 1.374 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/1.381, allocations: 129.3 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.589e-05/1.381, allocations: 11.25 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/1.382, allocations: 29.17 kB / 1.374 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/1.382, allocations: 31.91 kB / 1.374 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/1.382, allocations: 11.53 kB / 1.374 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004313/1.382, allocations: 272 kB / 1.375 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3e-07/1.382, allocations: 3.938 kB / 1.375 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000888/1.383, allocations: 132.9 kB / 1.375 GB, free: 29.83 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.0002052/1.383, allocations: 116 kB / 1.375 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008594/1.384, allocations: 375.1 kB / 1.375 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.384, allocations: 0 / 1.375 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/1.384, allocations: 106.3 kB / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007295/1.385, allocations: 71.11 kB / 1.375 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/1.387, allocations: 0.5705 MB / 1.376 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/1.387, allocations: 0.8189 MB / 1.377 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004319/1.388, allocations: 55.78 kB / 1.377 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.28e-05/1.388, allocations: 32.22 kB / 1.377 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/1.388, allocations: 0 / 1.377 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.01109/1.399, allocations: 3.759 MB / 1.381 GB, free: 28.41 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