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.00823/0.00823, allocations: 98.11 kB / 15.73 MB, free: 6.012 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.001785/0.001785, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.583/2.583, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.12 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.003371/0.3665, allocations: 1.846 MB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3687, allocations: 1.252 MB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.3689, allocations: 7.938 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.3693, allocations: 83.19 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.3695, allocations: 55.45 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.37, allocations: 169.2 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.3705, allocations: 493 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.3709, allocations: 271.4 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3711, allocations: 179.3 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.3714, allocations: 203 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.3715, allocations: 52 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.3716, allocations: 52 kB / 1.093 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.3717, allocations: 107.6 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.3719, allocations: 214.8 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.3726, allocations: 0.5873 MB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3726, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3726, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3726, allocations: 0 / 1.093 GB, free: 11.93 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.001364/0.374, allocations: 0.7481 MB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.374, allocations: 8.031 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3742, allocations: 52.61 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.3747, allocations: 364.3 kB / 1.095 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/0.3747, allocations: 33.31 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.3748, allocations: 40.38 kB / 1.095 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007741/0.3756, allocations: 403.6 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3756, allocations: 4.125 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.3757, allocations: 23.92 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.3758, allocations: 12 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.3765, allocations: 279.9 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002344/0.3788, allocations: 1.367 MB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.3796, allocations: 246.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.3799, allocations: 118.4 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.3799, allocations: 8 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.38, allocations: 34.56 kB / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.38, allocations: 0 / 1.097 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0007031/0.3807, allocations: 298.5 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.3808, allocations: 106.8 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.3813, allocations: 409.6 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.3814, allocations: 33.7 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.3816, allocations: 256.1 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.3816, allocations: 75.36 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3818, allocations: 69.98 kB / 1.098 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.382, allocations: 346.8 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.3822, allocations: 118.1 kB / 1.099 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.3826, allocations: 204.3 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.3831, allocations: 285.6 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3831, allocations: 0 / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006696/0.3838, allocations: 357.3 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3838, allocations: 12 kB / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3838, allocations: 0 / 1.099 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3838, allocations: 7.938 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3842, allocations: 83.77 kB / 1.1 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3842, allocations: 7.984 kB / 1.1 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3844, allocations: 55.64 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3845, allocations: 12 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003076/0.3848, allocations: 202.7 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002388/0.385, allocations: 187.4 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003156/0.3854, allocations: 229.6 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.472e-06/0.3854, allocations: 0 / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005851/0.386, allocations: 318.9 kB / 1.101 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.386, allocations: 4 kB / 1.101 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.386, allocations: 8 kB / 1.101 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.386, allocations: 4 kB / 1.101 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.3862, allocations: 71.78 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3862, allocations: 4 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.3864, allocations: 36.05 kB / 1.101 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3865, allocations: 16 kB / 1.101 GB, free: 4.082 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.0002073/0.3867, allocations: 200.2 kB / 1.101 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3868, allocations: 35.77 kB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.3873, allocations: 240.9 kB / 1.101 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3873, allocations: 7.938 kB / 1.101 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3873, allocations: 4 kB / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3873, allocations: 0 / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.3886, allocations: 0.7912 MB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3886, allocations: 0 / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.3888, allocations: 43.91 kB / 1.102 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3888, allocations: 4 kB / 1.102 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.3889, allocations: 11.98 kB / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3889, allocations: 0 / 1.102 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3889, allocations: 4 kB / 1.102 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.3898, allocations: 462.7 kB / 1.102 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.3899, allocations: 124.8 kB / 1.103 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.39, allocations: 12 kB / 1.103 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3901, allocations: 11.98 kB / 1.103 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.3902, allocations: 19.92 kB / 1.103 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3902, allocations: 8 kB / 1.103 GB, free: 2 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003231/0.3905, allocations: 287.2 kB / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3905, allocations: 0 / 1.103 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006154/0.3912, allocations: 131.6 kB / 1.103 GB, free: 1.59 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.0001944/0.3914, allocations: 119.2 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008044/0.3922, allocations: 380.3 kB / 1.103 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3922, allocations: 4.062 kB / 1.103 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3924, allocations: 95.89 kB / 1.104 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.393, allocations: 65.78 kB / 1.104 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.3942, allocations: 0.6776 MB / 1.104 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.3949, allocations: 0.8038 MB / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001597/0.3951, allocations: 43.44 kB / 1.105 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.3952, allocations: 39.42 kB / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.3952, allocations: 0 / 1.105 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of Templates: time 0.008209/0.4034, allocations: 3.525 MB / 1.109 GB, free: 11.8 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