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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008194/0.008194, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001567, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6648 GB, free: 124 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 73.45 kB / 0.9509 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3586, allocations: 140.4 MB / 1.088 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.004001/0.3627, allocations: 1.854 MB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.3647, allocations: 1.248 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3649, allocations: 8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3652, allocations: 79.19 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.3654, allocations: 59.45 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.3658, allocations: 171.6 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.3663, allocations: 489 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.3667, allocations: 271.4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.3669, allocations: 183.2 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.3671, allocations: 199 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.411e-05/0.3672, allocations: 52 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.385e-05/0.3673, allocations: 52 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.3674, allocations: 107.6 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.3676, allocations: 218.8 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.3681, allocations: 0.5799 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3681, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3681, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.3681, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 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.001175/0.3693, allocations: 0.7407 MB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3694, allocations: 8.031 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.3695, allocations: 56.38 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.37, allocations: 348.3 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.37, allocations: 29.38 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.11e-05/0.3701, allocations: 44.28 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006467/0.3707, allocations: 411.5 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3708, allocations: 192 / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.3708, allocations: 19.94 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3708, allocations: 16 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005572/0.3714, allocations: 283.8 kB / 1.095 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.3736, allocations: 1.358 MB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.3744, allocations: 246.8 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3746, allocations: 116.8 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.3747, allocations: 8 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3747, allocations: 34.56 kB / 1.097 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.004e-06/0.3747, allocations: 4 kB / 1.097 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0007274/0.3755, allocations: 290.9 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.3756, allocations: 110.8 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.376, allocations: 413.5 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3761, allocations: 29.7 kB / 1.098 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.3763, allocations: 251.7 kB / 1.098 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.3764, allocations: 74.94 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3766, allocations: 69.88 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.3768, allocations: 346.8 kB / 1.098 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.3771, allocations: 118.1 kB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.3776, allocations: 212.3 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.378, allocations: 272.9 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3781, allocations: 3.984 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006976/0.3788, allocations: 359.4 kB / 1.099 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3788, allocations: 9.562 kB / 1.099 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3788, allocations: 4 kB / 1.099 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.204e-05/0.3789, allocations: 7.938 kB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3791, allocations: 71.89 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3792, allocations: 4 kB / 1.1 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.3794, allocations: 51.56 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3794, allocations: 16 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003676/0.3798, allocations: 200.8 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000355/0.3802, allocations: 187.3 kB / 1.1 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003445/0.3805, allocations: 233.4 kB / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.3805, allocations: 0 / 1.1 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005608/0.3811, allocations: 317 kB / 1.1 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3811, allocations: 8 kB / 1.1 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.3811, allocations: 0 / 1.1 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.391e-06/0.3812, allocations: 4 kB / 1.1 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3814, allocations: 63.84 kB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3814, allocations: 4 kB / 1.101 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3816, allocations: 43.89 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.3816, allocations: 12 kB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001583/0.3818, allocations: 200.3 kB / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.3818, allocations: 35.61 kB / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.3823, allocations: 246.8 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3823, allocations: 0 / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.3824, allocations: 8 kB / 1.101 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3824, allocations: 7.938 kB / 1.101 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3837, allocations: 0.7833 MB / 1.102 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.3837, allocations: 4 kB / 1.102 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3839, allocations: 43.91 kB / 1.102 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3839, allocations: 0 / 1.102 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3839, allocations: 8 kB / 1.102 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3839, allocations: 7.984 kB / 1.102 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3839, allocations: 0 / 1.102 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.3847, allocations: 463.1 kB / 1.102 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.3848, allocations: 116.8 kB / 1.102 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.3849, allocations: 8 kB / 1.102 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.385, allocations: 23.92 kB / 1.102 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.3851, allocations: 11.92 kB / 1.102 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.3851, allocations: 8 kB / 1.102 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003469/0.3855, allocations: 291.2 kB / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3e-07/0.3855, allocations: 0 / 1.103 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004877/0.386, allocations: 131.4 kB / 1.103 GB, free: 1.484 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.3861, allocations: 119.1 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007643/0.3869, allocations: 395.2 kB / 1.103 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3869, allocations: 4.125 kB / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3871, allocations: 95.83 kB / 1.103 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.3877, allocations: 77.11 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.389, allocations: 0.6709 MB / 1.104 GB, free: 92 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.3895, allocations: 0.7957 MB / 1.105 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001482/0.3897, allocations: 39.27 kB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.3898, allocations: 35.42 kB / 1.105 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.3898, allocations: 0 / 1.105 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.00842/0.3982, allocations: 3.532 MB / 1.109 GB, free: 11.69 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches