Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00193/0.00193, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.81/2.81, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 69.33 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3335, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput): time 0.003213/0.3368, allocations: 1.881 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3384, allocations: 1.236 MB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.3386, allocations: 4 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3389, allocations: 59.44 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.339, allocations: 35.78 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3394, allocations: 147.8 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000415/0.3398, allocations: 457 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003905/0.3402, allocations: 246.3 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3404, allocations: 155.2 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.3406, allocations: 167 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.3406, allocations: 24 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.888e-05/0.3407, allocations: 28 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.3408, allocations: 79.67 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.3409, allocations: 182.8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.3414, allocations: 0.5179 MB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3414, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3414, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3414, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 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.001204/0.3427, allocations: 0.7213 MB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3427, allocations: 8.031 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.3428, allocations: 48.38 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3432, allocations: 340.2 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3433, allocations: 25.38 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.3433, allocations: 48.38 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006532/0.344, allocations: 383.6 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.344, allocations: 192 / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3441, allocations: 19.94 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3441, allocations: 8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.3446, allocations: 279.8 kB / 1.059 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.3468, allocations: 1.362 MB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.3477, allocations: 250.7 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3479, allocations: 127.5 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.348, allocations: 4 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.348, allocations: 38.56 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.686e-06/0.348, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0006726/0.3487, allocations: 306.5 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.3488, allocations: 106.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.3492, allocations: 405.6 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.3492, allocations: 29.7 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.3494, allocations: 239.8 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.3495, allocations: 74.91 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3496, allocations: 61.69 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3497, allocations: 346.8 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.35, allocations: 124.8 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3504, allocations: 197.1 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.351, allocations: 270 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.351, allocations: 4 kB / 1.063 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000769/0.3518, allocations: 366.3 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3518, allocations: 7.938 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3518, allocations: 4 kB / 1.063 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3518, allocations: 7.938 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.3522, allocations: 76.05 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.3522, allocations: 4 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.3524, allocations: 59.5 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.3525, allocations: 12 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003169/0.3528, allocations: 209.6 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002854/0.3531, allocations: 175.5 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003654/0.3535, allocations: 223.5 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3535, allocations: 0 / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.000592/0.3541, allocations: 329.5 kB / 1.064 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.3541, allocations: 4 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3541, allocations: 3.938 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.3541, allocations: 4 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.3544, allocations: 60.06 kB / 1.064 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.3544, allocations: 8 kB / 1.064 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.3546, allocations: 39.77 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3546, allocations: 11.98 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001868/0.3548, allocations: 200.2 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.974e-05/0.3549, allocations: 39.47 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000618/0.3555, allocations: 250.8 kB / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3555, allocations: 0 / 1.065 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3556, allocations: 3.984 kB / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3556, allocations: 0 / 1.065 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.357, allocations: 0.8481 MB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.357, allocations: 0 / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.3572, allocations: 56.16 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3572, allocations: 4 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3572, allocations: 4 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3573, allocations: 4 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3573, allocations: 3.938 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.358, allocations: 487.8 kB / 1.066 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3581, allocations: 120.7 kB / 1.066 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.3582, allocations: 11.98 kB / 1.066 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3584, allocations: 23.92 kB / 1.066 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3584, allocations: 15.92 kB / 1.066 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3585, allocations: 8 kB / 1.066 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003379/0.3588, allocations: 287.2 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3588, allocations: 4 kB / 1.067 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005602/0.3594, allocations: 123.5 kB / 1.067 GB, free: 9.316 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (21): * Single equations (assignments): 21 * 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.0002616/0.3596, allocations: 111.2 kB / 1.067 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008924/0.3605, allocations: 395.9 kB / 1.067 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3606, allocations: 4 kB / 1.067 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3608, allocations: 103.8 kB / 1.067 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3614, allocations: 70.27 kB / 1.067 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3629, allocations: 0.83 MB / 1.068 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.3633, allocations: 0.8001 MB / 1.069 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001665/0.3635, allocations: 46.92 kB / 1.069 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.3636, allocations: 27.44 kB / 1.069 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3636, allocations: 4 kB / 1.069 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of Templates: time 0.008026/0.3716, allocations: 3.447 MB / 1.072 GB, free: 3.438 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches