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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001532/0.001531, allocations: 111.8 kB / 16.37 MB, free: 5.949 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.001743/0.001743, allocations: 199 kB / 17.31 MB, free: 5.574 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 64.5 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3407, allocations: 151.6 MB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.00564/0.3465, allocations: 2.085 MB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003761/0.3503, allocations: 1.603 MB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.3506, allocations: 8 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.3511, allocations: 91 kB / 1.023 GB, free: 6.055 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.3514, allocations: 79.25 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3527, allocations: 324.7 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009857/0.3537, allocations: 0.6959 MB / 1.024 GB, free: 4.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007355/0.3544, allocations: 325.3 kB / 1.024 GB, free: 4.645 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.3548, allocations: 267 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004604/0.3553, allocations: 286.6 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.3555, allocations: 76 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.3557, allocations: 84 kB / 1.025 GB, free: 3.945 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.3559, allocations: 151.5 kB / 1.025 GB, free: 3.797 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/0.3562, allocations: 294.5 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.3574, allocations: 0.8329 MB / 1.026 GB, free: 2.672 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3574, allocations: 4 kB / 1.026 GB, free: 2.668 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3574, allocations: 0 / 1.026 GB, free: 2.668 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.3574, allocations: 0 / 1.026 GB, free: 2.668 MB / 0.795 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.002219/0.3597, allocations: 0.8993 MB / 1.027 GB, free: 1.711 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3597, allocations: 8.031 kB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3599, allocations: 68.19 kB / 1.027 GB, free: 1.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.3608, allocations: 412.5 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.3609, allocations: 45.38 kB / 1.027 GB, free: 1.152 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3611, allocations: 60.36 kB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3624, allocations: 0.4955 MB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3624, allocations: 192 / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.3625, allocations: 23.94 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.3625, allocations: 12 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.3637, allocations: 343.8 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/0.3673, allocations: 1.542 MB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3688, allocations: 0.8782 MB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.3694, allocations: 228.5 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.3694, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007033/0.3702, allocations: 257.5 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=47): time 3.036e-06/0.3702, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of matching and sorting (n=47): time 0.001707/0.3719, allocations: 0.5181 MB / 1.031 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.372, allocations: 111.2 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006849/0.3727, allocations: 385.7 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.3728, allocations: 37.7 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.3731, allocations: 256.9 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3733, allocations: 161.7 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.3735, allocations: 94.23 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.3737, allocations: 358.8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005985/0.3744, allocations: 191 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000665/0.375, allocations: 280.2 kB / 1.033 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.3761, allocations: 435.3 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3761, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001562/0.3777, allocations: 0.5558 MB / 1.034 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.3777, allocations: 45.62 kB / 1.034 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3778, allocations: 7.984 kB / 1.034 GB, free: 9.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.3778, allocations: 4 kB / 1.034 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.3785, allocations: 95.83 kB / 1.034 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/0.3785, allocations: 7.984 kB / 1.034 GB, free: 9.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.3791, allocations: 83.61 kB / 1.034 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/0.3792, allocations: 23.98 kB / 1.034 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007016/0.3799, allocations: 281.2 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006338/0.3806, allocations: 260.2 kB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009803/0.3816, allocations: 395.3 kB / 1.035 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.3816, allocations: 4 kB / 1.035 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0015/0.3831, allocations: 0.5166 MB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.3832, allocations: 36.2 kB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3832, allocations: 3.938 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.3832, allocations: 4 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.3838, allocations: 96.05 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3838, allocations: 4 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.3844, allocations: 71.55 kB / 1.036 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.3845, allocations: 27.92 kB / 1.036 GB, free: 7.613 MB / 0.8106 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.0002182/0.3847, allocations: 209.2 kB / 1.036 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3848, allocations: 51.38 kB / 1.036 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3861, allocations: 433.3 kB / 1.037 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.3862, allocations: 8 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.3862, allocations: 0 / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3862, allocations: 3.984 kB / 1.037 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.3893, allocations: 1.132 MB / 1.038 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.3893, allocations: 4 kB / 1.038 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.39, allocations: 84.08 kB / 1.038 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.39, allocations: 4 kB / 1.038 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.39, allocations: 12 kB / 1.038 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.3901, allocations: 4 kB / 1.038 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/0.3901, allocations: 15.88 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001859/0.3919, allocations: 0.7184 MB / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.3922, allocations: 132.5 kB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.3923, allocations: 12 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.3927, allocations: 23.98 kB / 1.039 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.3928, allocations: 39.83 kB / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.295e-05/0.3928, allocations: 12 kB / 1.039 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005042/0.3934, allocations: 279.2 kB / 1.039 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3934, allocations: 0 / 1.039 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001134/0.3945, allocations: 195.2 kB / 1.039 GB, free: 4.125 MB / 0.8106 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.0002981/0.3948, allocations: 123.2 kB / 1.039 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002043/0.3969, allocations: 0.7841 MB / 1.04 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3969, allocations: 8.188 kB / 1.04 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.3974, allocations: 191.7 kB / 1.04 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.3984, allocations: 97.75 kB / 1.04 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.4007, allocations: 0.9216 MB / 1.041 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.4013, allocations: 0.8434 MB / 1.042 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003024/0.4016, allocations: 59.36 kB / 1.042 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4018, allocations: 39.42 kB / 1.042 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.4018, allocations: 0 / 1.042 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of Templates: time 0.01749/0.4193, allocations: 5.992 MB / 1.048 GB, free: 11.01 MB / 0.8262 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 -s gbode -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/jenkins1/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