Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.y|limPD.y|limPID.D.y|limPD.D.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01621/0.01621, allocations: 104.5 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.002229/0.002229, allocations: 193.8 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.728/2.728, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 61.16 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3533, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.003227/0.3566, allocations: 1.844 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3584, allocations: 1.256 MB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.3586, allocations: 11.94 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.3589, allocations: 71.25 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.359, allocations: 51.47 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3594, allocations: 167.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004344/0.3599, allocations: 497 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.3603, allocations: 266 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3605, allocations: 175.3 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.3607, allocations: 199 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.3607, allocations: 52 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.309e-05/0.3608, allocations: 52 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.3609, allocations: 103.6 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3611, allocations: 202.9 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.3616, allocations: 0.5605 MB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3616, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3616, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3616, allocations: 3.938 kB / 1.093 GB, free: 11.96 MB / 0.8575 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.001197/0.3628, allocations: 0.7213 MB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3629, allocations: 12.03 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.363, allocations: 48.38 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.3635, allocations: 340.3 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3635, allocations: 29.38 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.3636, allocations: 36.38 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.3642, allocations: 395.5 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3643, allocations: 192 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.3643, allocations: 23.88 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3643, allocations: 12 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.3649, allocations: 279.8 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.3671, allocations: 1.343 MB / 1.096 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.3679, allocations: 254.8 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/0.3682, allocations: 116.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3682, allocations: 3.984 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.3683, allocations: 42.55 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 3.657e-06/0.3683, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.000756/0.369, allocations: 309 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.3691, allocations: 106.8 kB / 1.097 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004405/0.3695, allocations: 401.6 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3696, allocations: 25.7 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.3698, allocations: 239.9 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.3699, allocations: 74.91 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.37, allocations: 57.7 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3701, allocations: 346.8 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.3704, allocations: 124.8 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3707, allocations: 205.1 kB / 1.099 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.3712, allocations: 267.2 kB / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3713, allocations: 0 / 1.099 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006944/0.3719, allocations: 376.1 kB / 1.099 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.372, allocations: 13.81 kB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.372, allocations: 4 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.372, allocations: 4 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.3723, allocations: 71.89 kB / 1.099 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3723, allocations: 4 kB / 1.099 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.3726, allocations: 51.52 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.3726, allocations: 15.98 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000276/0.3729, allocations: 204.1 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002449/0.3731, allocations: 181.1 kB / 1.1 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003263/0.3735, allocations: 220.1 kB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.3735, allocations: 0 / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=38) (initialization_lambda0): time 0.0005261/0.374, allocations: 327.1 kB / 1.1 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.374, allocations: 8.141 kB / 1.1 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.374, allocations: 11.94 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.3741, allocations: 3.938 kB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.3743, allocations: 55.92 kB / 1.1 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3743, allocations: 11.92 kB / 1.1 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.3745, allocations: 39.81 kB / 1.1 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.3745, allocations: 8 kB / 1.1 GB, free: 4.277 MB / 0.8575 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.0001365/0.3747, allocations: 200.1 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.3747, allocations: 47.47 kB / 1.101 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.3752, allocations: 245 kB / 1.101 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3753, allocations: 96 / 1.101 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3753, allocations: 0 / 1.101 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3753, allocations: 3.984 kB / 1.101 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.3766, allocations: 0.8521 MB / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3767, allocations: 0 / 1.102 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.3769, allocations: 47.91 kB / 1.102 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3769, allocations: 4 kB / 1.102 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.3769, allocations: 12 kB / 1.102 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3769, allocations: 7.984 kB / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3769, allocations: 0 / 1.102 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.3777, allocations: 495.3 kB / 1.102 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.3778, allocations: 120.7 kB / 1.102 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.3778, allocations: 8 kB / 1.102 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.378, allocations: 19.98 kB / 1.102 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.378, allocations: 23.84 kB / 1.102 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.3781, allocations: 16 kB / 1.102 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002977/0.3784, allocations: 279.2 kB / 1.103 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3784, allocations: 0 / 1.103 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004704/0.3789, allocations: 119.6 kB / 1.103 GB, free: 1.66 MB / 0.8575 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.0001843/0.379, allocations: 115.2 kB / 1.103 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008053/0.3799, allocations: 399.5 kB / 1.103 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3799, allocations: 0 / 1.103 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3801, allocations: 101 kB / 1.103 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.3806, allocations: 82.17 kB / 1.104 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3819, allocations: 0.685 MB / 1.104 GB, free: 240 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3823, allocations: 0.7957 MB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.3825, allocations: 38.95 kB / 1.105 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.3826, allocations: 35.42 kB / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.3826, allocations: 0 / 1.105 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.007741/0.3903, allocations: 3.688 MB / 1.109 GB, free: 11.69 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches