Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pidSca.y|pidNoSca.y|pla1.y|pla2.y|pidSca.u_s",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009236/0.009236, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001843/0.001843, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.655/1.655, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.822/2.822, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3498, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003515/0.3534, allocations: 2.088 MB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002842/0.3563, allocations: 1.611 MB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002334/0.3565, allocations: 11.94 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.3568, allocations: 87.05 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.3571, allocations: 83.19 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.358, allocations: 330.8 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/0.3588, allocations: 0.6881 MB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.3593, allocations: 329.3 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.3596, allocations: 263 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.3599, allocations: 278.6 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.525e-05/0.36, allocations: 76 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3602, allocations: 91.98 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3603, allocations: 147.5 kB / 1.173 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.3606, allocations: 306.4 kB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009308/0.3616, allocations: 0.8247 MB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3616, allocations: 4 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3616, allocations: 0 / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.3616, allocations: 0 / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001673/0.3633, allocations: 0.926 MB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3634, allocations: 12.03 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.3635, allocations: 68.56 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.3642, allocations: 408.8 kB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.3642, allocations: 41.38 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.3643, allocations: 64.27 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/0.3653, allocations: 0.4917 MB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3653, allocations: 192 / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.3653, allocations: 27.92 kB / 1.176 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3654, allocations: 12 kB / 1.176 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.3661, allocations: 343.8 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.3685, allocations: 1.551 MB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.3695, allocations: 0.88 MB / 1.178 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000358/0.3698, allocations: 228.8 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3699, allocations: 4 kB / 1.179 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004186/0.3703, allocations: 240.9 kB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.3703, allocations: 0 / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47): time 0.001008/0.3713, allocations: 0.53 MB / 1.179 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.3714, allocations: 111.2 kB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.3719, allocations: 389.6 kB / 1.18 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.3719, allocations: 37.7 kB / 1.18 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.3722, allocations: 245.4 kB / 1.18 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3723, allocations: 174.5 kB / 1.18 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.3725, allocations: 98.23 kB / 1.18 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3727, allocations: 354.8 kB / 1.181 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004374/0.3731, allocations: 183 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.3736, allocations: 284.2 kB / 1.181 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.3744, allocations: 435.3 kB / 1.182 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3744, allocations: 0 / 1.182 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001114/0.3756, allocations: 0.5754 MB / 1.182 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.3756, allocations: 45.62 kB / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3756, allocations: 4 kB / 1.182 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3757, allocations: 4 kB / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.3761, allocations: 96.11 kB / 1.182 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.3761, allocations: 7.938 kB / 1.182 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3765, allocations: 83.61 kB / 1.182 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.526e-05/0.3765, allocations: 23.98 kB / 1.182 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004392/0.377, allocations: 281.1 kB / 1.183 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000387/0.3774, allocations: 260.3 kB / 1.183 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005458/0.3779, allocations: 388.1 kB / 1.183 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.3779, allocations: 0 / 1.183 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000843/0.3788, allocations: 0.5287 MB / 1.184 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.3788, allocations: 37.7 kB / 1.184 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3788, allocations: 11.94 kB / 1.184 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.3789, allocations: 4 kB / 1.184 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.3792, allocations: 87.89 kB / 1.184 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3792, allocations: 4 kB / 1.184 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.3795, allocations: 71.67 kB / 1.184 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.3796, allocations: 24.08 kB / 1.184 GB, free: 4.449 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.00015/0.3797, allocations: 208.2 kB / 1.184 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.3798, allocations: 51.61 kB / 1.184 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.3806, allocations: 429.3 kB / 1.185 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3806, allocations: 4 kB / 1.185 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3806, allocations: 4 kB / 1.185 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.3806, allocations: 8.078 kB / 1.185 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.3823, allocations: 1.132 MB / 1.186 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3823, allocations: 7.984 kB / 1.186 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.3826, allocations: 75.84 kB / 1.186 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3826, allocations: 4 kB / 1.186 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.3827, allocations: 15.98 kB / 1.186 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3827, allocations: 4 kB / 1.186 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3827, allocations: 3.938 kB / 1.186 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3838, allocations: 0.7341 MB / 1.187 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.3839, allocations: 132.7 kB / 1.187 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.3839, allocations: 16 kB / 1.187 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.3841, allocations: 23.98 kB / 1.187 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.3842, allocations: 31.89 kB / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.3842, allocations: 12 kB / 1.187 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002754/0.3845, allocations: 279.2 kB / 1.187 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.613e-06/0.3845, allocations: 3.938 kB / 1.187 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000584/0.3851, allocations: 203.4 kB / 1.187 GB, free: 0.9531 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002142/0.3853, allocations: 123.1 kB / 1.187 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.3867, allocations: 0.7838 MB / 1.188 GB, free: 20 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3867, allocations: 0 / 1.188 GB, free: 20 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.387, allocations: 196.7 kB / 1.188 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.3876, allocations: 98.89 kB / 1.188 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.389, allocations: 0.9368 MB / 1.189 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3895, allocations: 0.8512 MB / 1.19 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.3897, allocations: 55.38 kB / 1.19 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3898, allocations: 43.42 kB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.3898, allocations: 0 / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of Templates: time 0.0108/0.4006, allocations: 6.066 MB / 1.196 GB, free: 7.77 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDScale.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches