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.009843/0.009843, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002193/0.002193, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.492/1.492, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.787/2.787, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3733, allocations: 151.6 MB / 1.167 GB, free: 6.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003551/0.3769, allocations: 2.095 MB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.3796, allocations: 1.603 MB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.3799, allocations: 11.94 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.3802, allocations: 83.06 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3804, allocations: 83.19 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.3812, allocations: 318.6 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006708/0.3819, allocations: 0.692 MB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/0.3824, allocations: 325.3 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.3827, allocations: 259 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.383, allocations: 282.6 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.3831, allocations: 80 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3832, allocations: 91.98 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3834, allocations: 147.5 kB / 1.173 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.3836, allocations: 298.5 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008118/0.3845, allocations: 0.8364 MB / 1.174 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3845, allocations: 0 / 1.174 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3845, allocations: 0 / 1.174 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3845, allocations: 0 / 1.174 GB, free: 15.63 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.001512/0.386, allocations: 0.9221 MB / 1.175 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3861, allocations: 8.031 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.3862, allocations: 68.56 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.3867, allocations: 420.8 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.3867, allocations: 41.38 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.3868, allocations: 56.33 kB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.3877, allocations: 0.4956 MB / 1.176 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3877, allocations: 4.125 kB / 1.176 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.3877, allocations: 23.94 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3878, allocations: 16 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.3884, allocations: 347.8 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.3907, allocations: 1.547 MB / 1.178 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.3916, allocations: 0.8766 MB / 1.178 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.392, allocations: 232.8 kB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.392, allocations: 7.984 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.3924, allocations: 236.9 kB / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=47): time 2.034e-06/0.3925, allocations: 0 / 1.179 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=47): time 0.0009988/0.3935, allocations: 0.53 MB / 1.179 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.3935, allocations: 111.2 kB / 1.179 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3939, allocations: 385.6 kB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.394, allocations: 37.7 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3942, allocations: 253.4 kB / 1.18 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.3943, allocations: 170.5 kB / 1.18 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.3945, allocations: 94.23 kB / 1.18 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3946, allocations: 362.8 kB / 1.181 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004062/0.395, allocations: 183 kB / 1.181 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.3955, allocations: 284.3 kB / 1.181 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007213/0.3962, allocations: 431.4 kB / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3962, allocations: 0 / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001044/0.3973, allocations: 0.5754 MB / 1.182 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.3973, allocations: 37.64 kB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3974, allocations: 4 kB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3974, allocations: 4 kB / 1.182 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.3978, allocations: 99.81 kB / 1.182 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3978, allocations: 4 kB / 1.182 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.3982, allocations: 87.83 kB / 1.182 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/0.3982, allocations: 23.94 kB / 1.182 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000445/0.3987, allocations: 285.2 kB / 1.183 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000358/0.399, allocations: 252.3 kB / 1.183 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005463/0.3996, allocations: 400.1 kB / 1.183 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.3996, allocations: 0 / 1.183 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0008274/0.4004, allocations: 0.5208 MB / 1.184 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/0.4005, allocations: 41.69 kB / 1.184 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4005, allocations: 8.156 kB / 1.184 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.4005, allocations: 8 kB / 1.184 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.4008, allocations: 83.91 kB / 1.184 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4008, allocations: 7.938 kB / 1.184 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.4012, allocations: 71.72 kB / 1.184 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.4012, allocations: 20 kB / 1.184 GB, free: 4.52 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.0001484/0.4014, allocations: 210.1 kB / 1.184 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.4014, allocations: 55.59 kB / 1.184 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.4022, allocations: 429.4 kB / 1.185 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4022, allocations: 4 kB / 1.185 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.4022, allocations: 7.984 kB / 1.185 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4023, allocations: 0 / 1.185 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.4039, allocations: 1.132 MB / 1.186 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4039, allocations: 4 kB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.4043, allocations: 83.83 kB / 1.186 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.4043, allocations: 4 kB / 1.186 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.4043, allocations: 12 kB / 1.186 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.4043, allocations: 4 kB / 1.186 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4043, allocations: 7.938 kB / 1.186 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4054, allocations: 0.7261 MB / 1.187 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4055, allocations: 140.7 kB / 1.187 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.4055, allocations: 12 kB / 1.187 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.4057, allocations: 23.97 kB / 1.187 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.4058, allocations: 27.91 kB / 1.187 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4058, allocations: 19.98 kB / 1.187 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002776/0.4061, allocations: 271.2 kB / 1.187 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4061, allocations: 3.938 kB / 1.187 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005666/0.4067, allocations: 203.5 kB / 1.187 GB, free: 1.027 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.0002006/0.4069, allocations: 123.1 kB / 1.187 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.4082, allocations: 0.7803 MB / 1.188 GB, free: 100 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4083, allocations: 0 / 1.188 GB, free: 100 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4086, allocations: 207.5 kB / 1.188 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.4092, allocations: 102.5 kB / 1.188 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.4107, allocations: 0.9368 MB / 1.189 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.4113, allocations: 0.8474 MB / 1.19 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000234/0.4115, allocations: 51.38 kB / 1.19 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.4117, allocations: 39.42 kB / 1.19 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of SimCode: time 8.42e-07/0.4117, allocations: 4 kB / 1.19 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of Templates: time 0.0112/0.4229, allocations: 6.059 MB / 1.196 GB, free: 7.84 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