Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004926/0.004926, allocations: 97.91 kB / 15.73 MB, free: 6.004 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.001094/0.001094, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.425/1.425, 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 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 469.8 MB / 0.7425 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.89 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3419, allocations: 159.1 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003134/0.345, allocations: 1.845 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3468, allocations: 1.259 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.347, allocations: 8 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.3472, allocations: 75.19 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3474, allocations: 59.44 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.3478, allocations: 155.7 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.3482, allocations: 0.4892 MB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.3485, allocations: 191.5 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.3487, allocations: 183.2 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3489, allocations: 195 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.349, allocations: 52 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.349, allocations: 52 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.379e-05/0.3491, allocations: 111.6 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.3493, allocations: 206.8 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005252/0.3498, allocations: 0.5951 MB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3498, allocations: 4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3498, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.3498, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00117/0.351, allocations: 0.7519 MB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.351, allocations: 8.031 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.3511, allocations: 56.61 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.3516, allocations: 344.5 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.3516, allocations: 33.38 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.3517, allocations: 48.31 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.3523, allocations: 407.5 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3523, allocations: 192 / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3524, allocations: 19.94 kB / 1.228 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3524, allocations: 15.94 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005681/0.353, allocations: 283.8 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3549, allocations: 1.371 MB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.3555, allocations: 242.8 kB / 1.229 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.3558, allocations: 114.7 kB / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3558, allocations: 0 / 1.23 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3558, allocations: 34.56 kB / 1.23 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.3558, allocations: 3.938 kB / 1.23 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0006704/0.3565, allocations: 301.2 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.3566, allocations: 102.8 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.357, allocations: 405.6 kB / 1.23 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.357, allocations: 29.7 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3572, allocations: 260.1 kB / 1.231 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.3572, allocations: 79.36 kB / 1.231 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3574, allocations: 62.03 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3575, allocations: 346.8 kB / 1.231 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.3577, allocations: 118.1 kB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.358, allocations: 216.3 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.3585, allocations: 273.2 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3585, allocations: 3.938 kB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006713/0.3592, allocations: 370.8 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3592, allocations: 5.719 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3592, allocations: 4 kB / 1.232 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.3592, allocations: 7.938 kB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3595, allocations: 71.83 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.3595, allocations: 4 kB / 1.232 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.3598, allocations: 59.92 kB / 1.232 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.3598, allocations: 12 kB / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002591/0.36, allocations: 200.8 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002113/0.3603, allocations: 183.3 kB / 1.233 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002949/0.3605, allocations: 237.7 kB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3606, allocations: 0 / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004901/0.361, allocations: 321.1 kB / 1.233 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.3611, allocations: 8 kB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-06/0.3611, allocations: 0 / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.629e-06/0.3611, allocations: 4.219 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3613, allocations: 71.84 kB / 1.233 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3613, allocations: 4 kB / 1.233 GB, free: 460 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3615, allocations: 39.77 kB / 1.233 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3615, allocations: 12 kB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001327/0.3616, allocations: 196.7 kB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.3617, allocations: 39.75 kB / 1.233 GB, free: 164 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.3622, allocations: 246.3 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3622, allocations: 4 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3622, allocations: 0 / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3622, allocations: 4 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.3634, allocations: 0.7833 MB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3634, allocations: 4 kB / 1.234 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.3636, allocations: 51.84 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3636, allocations: 0 / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3636, allocations: 4 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3636, allocations: 4.156 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3636, allocations: 7.984 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.3643, allocations: 465.9 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.3643, allocations: 120.9 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.3644, allocations: 4 kB / 1.235 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3646, allocations: 19.98 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.3646, allocations: 19.86 kB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3646, allocations: 12 kB / 1.235 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002985/0.3649, allocations: 291.1 kB / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3649, allocations: 0 / 1.235 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005066/0.3654, allocations: 127.7 kB / 1.236 GB, free: 13.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001927/0.3656, allocations: 107.2 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.3664, allocations: 366.9 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3664, allocations: 3.984 kB / 1.236 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.3666, allocations: 93.02 kB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.3671, allocations: 70.97 kB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.3684, allocations: 0.6775 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3687, allocations: 0.7999 MB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.3689, allocations: 47.38 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.369, allocations: 31.42 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.369, allocations: 4 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of Templates: time 0.008013/0.377, allocations: 3.547 MB / 1.241 GB, free: 8.121 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches