Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_10_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_10_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.001488/0.001488, allocations: 102.2 kB / 16.27 MB, free: 5.988 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.001492/0.001492, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.25 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.525/2.525, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.67 kB / 0.8699 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 151.6 MB / 1.018 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00326/0.328, allocations: 1.844 MB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.33, allocations: 1.26 MB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.3302, allocations: 11.94 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.3305, allocations: 75.19 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.3306, allocations: 51.47 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.331, allocations: 167.7 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.3315, allocations: 485 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.332, allocations: 279.4 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3322, allocations: 171.3 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.3324, allocations: 195 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.3325, allocations: 52 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.3325, allocations: 52 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.3326, allocations: 119.5 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.3328, allocations: 210.8 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3334, allocations: 0.5648 MB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3334, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3334, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3334, allocations: 0 / 1.023 GB, free: 5.016 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001254/0.3347, allocations: 0.7445 MB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3347, allocations: 8.031 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.841e-05/0.3348, allocations: 52.38 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.3353, allocations: 344.3 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3353, allocations: 33.31 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.872e-05/0.3354, allocations: 48.38 kB / 1.025 GB, free: 3.707 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.3361, allocations: 407.6 kB / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3361, allocations: 192 / 1.025 GB, free: 3.293 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.3362, allocations: 19.94 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3362, allocations: 8 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.3368, allocations: 287.8 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002105/0.3389, allocations: 1.37 MB / 1.027 GB, free: 1.551 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.3397, allocations: 242.9 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.3399, allocations: 127.5 kB / 1.027 GB, free: 1.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.34, allocations: 4 kB / 1.027 GB, free: 1.176 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/0.34, allocations: 34.56 kB / 1.027 GB, free: 1.133 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.432e-06/0.34, allocations: 3.938 kB / 1.027 GB, free: 1.129 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0007153/0.3408, allocations: 298.9 kB / 1.027 GB, free: 0.832 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.3408, allocations: 106.8 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.3413, allocations: 409.5 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3414, allocations: 29.7 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.3416, allocations: 251.7 kB / 1.028 GB, free: 4 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.3417, allocations: 79 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3418, allocations: 61.94 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.342, allocations: 346.8 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.3422, allocations: 122 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.3426, allocations: 204.4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3431, allocations: 269.3 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3431, allocations: 0 / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007301/0.3439, allocations: 372.8 kB / 1.029 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3439, allocations: 4 kB / 1.029 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3439, allocations: 4 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3439, allocations: 7.938 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.3442, allocations: 72.11 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3442, allocations: 4 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3445, allocations: 59.5 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.3445, allocations: 12 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002723/0.3448, allocations: 208.6 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002405/0.345, allocations: 183.7 kB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003516/0.3454, allocations: 233.3 kB / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.3454, allocations: 0 / 1.03 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005135/0.3459, allocations: 323.5 kB / 1.03 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.346, allocations: 12.22 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.346, allocations: 3.984 kB / 1.03 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-06/0.346, allocations: 4 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3462, allocations: 63.84 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3462, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.3464, allocations: 39.73 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3464, allocations: 8 kB / 1.031 GB, free: 13.2 MB / 0.8106 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.0001508/0.3466, allocations: 210.7 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.3467, allocations: 35.62 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.3472, allocations: 240.9 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3472, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3472, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3472, allocations: 4 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3484, allocations: 0.791 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3485, allocations: 8 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.3487, allocations: 40.12 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3487, allocations: 4 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3487, allocations: 8 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3487, allocations: 4 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/0.3487, allocations: 3.938 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.3494, allocations: 463.5 kB / 1.032 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.3495, allocations: 112.7 kB / 1.032 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.3496, allocations: 11.98 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3498, allocations: 19.98 kB / 1.032 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.3498, allocations: 19.86 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3498, allocations: 12 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003141/0.3502, allocations: 287.2 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3502, allocations: 0 / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004755/0.3507, allocations: 131.4 kB / 1.033 GB, free: 10.7 MB / 0.8106 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.0001575/0.3508, allocations: 103.4 kB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008613/0.3517, allocations: 411.3 kB / 1.033 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3517, allocations: 0 / 1.033 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3519, allocations: 101 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.3525, allocations: 71.22 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3539, allocations: 0.7 MB / 1.034 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3543, allocations: 0.7995 MB / 1.035 GB, free: 8.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.825e-05/0.3544, allocations: 35.42 kB / 1.035 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3545, allocations: 0 / 1.035 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of Templates: time 0.007062/0.3615, allocations: 4.329 MB / 1.039 GB, free: 4.102 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches