Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001107/0.001107, allocations: 188.4 kB / 487.4 MB, free: 5.039 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009374/0.0009378, allocations: 95.78 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.04e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.357, allocations: 149.7 MB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/1.357, allocations: 72.5 kB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01711/1.374, allocations: 6.687 MB / 1.359 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.374, allocations: 0 / 1.359 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.395e-05/1.374, allocations: 11.81 kB / 1.359 GB, free: 33.6 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0008128/1.375, allocations: 0.6019 MB / 1.359 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.375, allocations: 7.688 kB / 1.359 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.415e-05/1.375, allocations: 46.66 kB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/1.376, allocations: 331.3 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/1.376, allocations: 11.69 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/1.376, allocations: 19.38 kB / 1.36 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003466/1.376, allocations: 226.6 kB / 1.36 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/1.377, allocations: 304.1 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/1.377, allocations: 0 / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/1.377, allocations: 0 / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/1.377, allocations: 11.62 kB / 1.36 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/1.378, allocations: 1.186 MB / 1.361 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003229/1.379, allocations: 200.4 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.379, allocations: 129.6 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/1.379, allocations: 4.078 kB / 1.362 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/1.379, allocations: 165.7 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/1.379, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0003813/1.38, allocations: 206.6 kB / 1.362 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.38, allocations: 132.4 kB / 1.362 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/1.38, allocations: 253.4 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/1.38, allocations: 29.55 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/1.38, allocations: 218.7 kB / 1.363 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/1.38, allocations: 95.38 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/1.38, allocations: 3.938 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.38, allocations: 345.5 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/1.38, allocations: 82.31 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/1.381, allocations: 173.3 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/1.381, allocations: 93.11 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.381, allocations: 3.844 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003465/1.381, allocations: 288.8 kB / 1.364 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/1.381, allocations: 451.5 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/1.381, allocations: 3.844 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.381, allocations: 0 / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/1.382, allocations: 72.92 kB / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.382, allocations: 0 / 1.364 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/1.382, allocations: 52.02 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/1.382, allocations: 11.53 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/1.382, allocations: 5.094 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002939/1.382, allocations: 215.9 kB / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/1.382, allocations: 0 / 1.364 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.326e-06/1.382, allocations: 3.844 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/1.382, allocations: 61.05 kB / 1.365 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/1.382, allocations: 4.094 kB / 1.365 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/1.383, allocations: 38.2 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/1.383, allocations: 10.25 kB / 1.365 GB, free: 30.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0001063/1.383, allocations: 109.8 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/1.383, allocations: 23.25 kB / 1.365 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/1.383, allocations: 237.3 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.383, allocations: 3.969 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.383, allocations: 3.938 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/1.383, allocations: 3.906 kB / 1.365 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/1.384, allocations: 0.948 MB / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/1.384, allocations: 4.219 kB / 1.366 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/1.385, allocations: 65.59 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.385, allocations: 7.781 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/1.385, allocations: 6.594 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/1.385, allocations: 7.719 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.385, allocations: 3.875 kB / 1.366 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/1.385, allocations: 0.7261 MB / 1.367 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/1.386, allocations: 118.5 kB / 1.367 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/1.386, allocations: 7.406 kB / 1.367 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/1.386, allocations: 28.28 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/1.386, allocations: 28.03 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/1.386, allocations: 7.688 kB / 1.367 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002047/1.386, allocations: 201.2 kB / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.386, allocations: 0 / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005043/1.387, allocations: 120 kB / 1.367 GB, free: 29.17 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($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.0002395/1.387, allocations: 118.1 kB / 1.367 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005043/1.387, allocations: 353 kB / 1.368 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.387, allocations: 0 / 1.368 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.388, allocations: 103.6 kB / 1.368 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/1.388, allocations: 66.86 kB / 1.368 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/1.389, allocations: 0.5691 MB / 1.368 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/1.39, allocations: 0.8096 MB / 1.369 GB, free: 28 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002063/1.39, allocations: 48.59 kB / 1.369 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/1.39, allocations: 29.56 kB / 1.369 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.39, allocations: 0 / 1.369 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.006153/1.396, allocations: 3.181 MB / 1.372 GB, free: 27.77 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches