Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.u_s|limPID.u_m|limPID.y|noLimPID.y|limP.y|limPI.y|limPD.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001184/0.001184, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.487/1.487, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.523/2.524, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 76.45 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3267, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.006001/0.3327, allocations: 3.623 MB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004123/0.3369, allocations: 2.136 MB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008196/0.3377, allocations: 19.94 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.3384, allocations: 170.1 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007432/0.3392, allocations: 150.6 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3407, allocations: 498.4 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3423, allocations: 1.252 MB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.3433, allocations: 0.5993 MB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.3439, allocations: 446.3 kB / 1.027 GB, free: 1.684 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005949/0.3445, allocations: 473.6 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.3447, allocations: 132 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.345, allocations: 147.9 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.3453, allocations: 259.1 kB / 1.028 GB, free: 0.6914 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005559/0.3459, allocations: 0.4973 MB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3473, allocations: 1.379 MB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3473, allocations: 0 / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3473, allocations: 0 / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.504e-05/0.3473, allocations: 0 / 1.029 GB, free: 14.81 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002921/0.3503, allocations: 1.368 MB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3503, allocations: 8.625 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.3506, allocations: 119.5 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.3514, allocations: 0.5908 MB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.3515, allocations: 78.36 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.3517, allocations: 92.28 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.3533, allocations: 0.8602 MB / 1.032 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.3533, allocations: 4.125 kB / 1.032 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.3534, allocations: 39.94 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.3534, allocations: 24 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.3548, allocations: 0.6324 MB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004668/0.3595, allocations: 2.999 MB / 1.036 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.361, allocations: 0.683 MB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.3617, allocations: 370.6 kB / 1.037 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.3617, allocations: 21.62 kB / 1.037 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007533/0.3625, allocations: 343 kB / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.865e-06/0.3625, allocations: 0 / 1.037 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.00177/0.3643, allocations: 0.8376 MB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.874e-05/0.3644, allocations: 188.5 kB / 1.038 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008446/0.3653, allocations: 0.6879 MB / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.3653, allocations: 37.7 kB / 1.039 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.3657, allocations: 431.8 kB / 1.04 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.3659, allocations: 228.6 kB / 1.04 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.3661, allocations: 146.6 kB / 1.04 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3662, allocations: 337.9 kB / 1.04 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007359/0.367, allocations: 300.7 kB / 1.041 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008174/0.3678, allocations: 482 kB / 1.041 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.3691, allocations: 0.677 MB / 1.042 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3691, allocations: 0 / 1.042 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001802/0.3709, allocations: 0.8805 MB / 1.043 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.371, allocations: 37.7 kB / 1.043 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.371, allocations: 4 kB / 1.043 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.371, allocations: 4 kB / 1.043 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.3717, allocations: 172 kB / 1.043 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.3717, allocations: 7.938 kB / 1.043 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/0.3725, allocations: 139 kB / 1.043 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.3726, allocations: 31.98 kB / 1.043 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006818/0.3733, allocations: 402 kB / 1.043 GB, free: 156 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005908/0.3739, allocations: 422.2 kB / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008579/0.3748, allocations: 0.56 MB / 1.044 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.3748, allocations: 4 kB / 1.044 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001375/0.3761, allocations: 0.7556 MB / 1.045 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.3762, allocations: 41.7 kB / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3762, allocations: 0 / 1.045 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3762, allocations: 8.375 kB / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.3767, allocations: 143.8 kB / 1.045 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.3768, allocations: 7.938 kB / 1.045 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.3774, allocations: 111.5 kB / 1.045 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.3775, allocations: 27.98 kB / 1.045 GB, free: 13.95 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0002409/0.3777, allocations: 236 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3779, allocations: 82.97 kB / 1.046 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.3792, allocations: 0.6554 MB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3792, allocations: 4 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3793, allocations: 0 / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3793, allocations: 3.984 kB / 1.046 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.3819, allocations: 1.675 MB / 1.048 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.382, allocations: 7.938 kB / 1.048 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.3825, allocations: 131.8 kB / 1.048 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.3825, allocations: 4 kB / 1.048 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.3826, allocations: 19.98 kB / 1.048 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.3826, allocations: 8 kB / 1.048 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3826, allocations: 0 / 1.048 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.3845, allocations: 1.089 MB / 1.049 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.3847, allocations: 179.9 kB / 1.049 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.3848, allocations: 12 kB / 1.049 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.3852, allocations: 47.95 kB / 1.049 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3853, allocations: 48.44 kB / 1.049 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.3853, allocations: 24 kB / 1.049 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006062/0.386, allocations: 483 kB / 1.05 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.386, allocations: 0 / 1.05 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009352/0.3869, allocations: 314.8 kB / 1.05 GB, free: 8.797 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($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 (68): * Single equations (assignments): 67 * 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.0002308/0.3871, allocations: 131.1 kB / 1.05 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002783/0.3899, allocations: 1.175 MB / 1.051 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.39, allocations: 0 / 1.051 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.3907, allocations: 319 kB / 1.052 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3917, allocations: 192.1 kB / 1.052 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.3944, allocations: 1.541 MB / 1.053 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.395, allocations: 0.982 MB / 1.054 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.3953, allocations: 67.42 kB / 1.054 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of SimCode: time 8.41e-07/0.3953, allocations: 0 / 1.054 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Templates: time 0.01651/0.4118, allocations: 10.11 MB / 1.064 GB, free: 10.22 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches