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.001133/0.001133, allocations: 112.4 kB / 15.99 MB, free: 5.891 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.001259/0.001259, allocations: 194.2 kB / 16.91 MB, free: 5.746 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.597/1.597, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.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.626/2.626, allocations: 437 MB / 0.7107 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.91 kB / 0.8694 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.6368, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002929/0.6398, allocations: 1.892 MB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.6414, allocations: 1.228 MB / 1.021 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.6416, allocations: 15.94 kB / 1.021 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.6419, allocations: 51.52 kB / 1.021 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.642, allocations: 39.7 kB / 1.021 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.6424, allocations: 135.9 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004123/0.6428, allocations: 485 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.6432, allocations: 271.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.6434, allocations: 183.2 kB / 1.022 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.6436, allocations: 206.9 kB / 1.022 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.6436, allocations: 52 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.6437, allocations: 52 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.6438, allocations: 107.6 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.644, allocations: 214.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.6444, allocations: 460.9 kB / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6444, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6444, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.6444, allocations: 0 / 1.023 GB, free: 13.39 MB / 0.7794 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.001153/0.6456, allocations: 0.7407 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6456, allocations: 8.031 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.6457, allocations: 48.38 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.6461, allocations: 352.2 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.6462, allocations: 33.38 kB / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.6462, allocations: 40.38 kB / 1.024 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.6469, allocations: 407.6 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.6469, allocations: 4.125 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.647, allocations: 19.94 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.647, allocations: 12 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.6475, allocations: 283.8 kB / 1.025 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.6495, allocations: 1.374 MB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006964/0.6502, allocations: 242.9 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.6504, allocations: 122.4 kB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.6504, allocations: 11.97 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.6505, allocations: 30.56 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.6505, allocations: 0 / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.000647/0.6511, allocations: 302.9 kB / 1.027 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.6512, allocations: 110.8 kB / 1.027 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.6516, allocations: 401.6 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.6517, allocations: 33.7 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.6518, allocations: 247.7 kB / 1.027 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.6519, allocations: 70.92 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.652, allocations: 70.02 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6522, allocations: 346.8 kB / 1.028 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.6525, allocations: 122.1 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.6528, allocations: 200.4 kB / 1.028 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.6533, allocations: 280.8 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6533, allocations: 0 / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008101/0.6542, allocations: 370.7 kB / 1.029 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.6542, allocations: 8 kB / 1.029 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6542, allocations: 0 / 1.029 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.6542, allocations: 7.984 kB / 1.029 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.6545, allocations: 75.88 kB / 1.029 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.6545, allocations: 7.938 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003021/0.6549, allocations: 59.64 kB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-05/0.6549, allocations: 11.98 kB / 1.029 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002787/0.6552, allocations: 204.8 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002341/0.6554, allocations: 183.7 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003066/0.6557, allocations: 237.6 kB / 1.03 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.6557, allocations: 0 / 1.03 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005093/0.6563, allocations: 320.9 kB / 1.03 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6563, allocations: 4 kB / 1.03 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.6563, allocations: 4 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.6563, allocations: 7.938 kB / 1.03 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.6565, allocations: 59.86 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6566, allocations: 8.156 kB / 1.03 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.6568, allocations: 43.81 kB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.6568, allocations: 8 kB / 1.03 GB, free: 5.566 MB / 0.7794 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.0001566/0.657, allocations: 200.7 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.657, allocations: 35.53 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.6575, allocations: 243 kB / 1.03 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.6575, allocations: 7.984 kB / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6576, allocations: 0 / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6576, allocations: 0 / 1.03 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.6588, allocations: 0.7966 MB / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6589, allocations: 0 / 1.031 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.6591, allocations: 43.91 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.6591, allocations: 4 kB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6591, allocations: 8 kB / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6591, allocations: 0 / 1.031 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6591, allocations: 4 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/0.6598, allocations: 465.3 kB / 1.032 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/0.6599, allocations: 116.7 kB / 1.032 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.66, allocations: 8 kB / 1.032 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6602, allocations: 19.97 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.6602, allocations: 15.92 kB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.6602, allocations: 12 kB / 1.032 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003463/0.6606, allocations: 287.2 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6606, allocations: 0 / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005014/0.6611, allocations: 131.4 kB / 1.032 GB, free: 3.07 MB / 0.7794 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.0001555/0.6613, allocations: 111.2 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008892/0.6622, allocations: 394.1 kB / 1.033 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6622, allocations: 4 kB / 1.033 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.6624, allocations: 87.89 kB / 1.033 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005852/0.6629, allocations: 81.53 kB / 1.033 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6643, allocations: 0.8406 MB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6647, allocations: 0.8035 MB / 1.035 GB, free: 0.6875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.847e-05/0.6648, allocations: 31.44 kB / 1.035 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.6648, allocations: 0 / 1.035 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of Templates: time 0.00732/0.6721, allocations: 4.33 MB / 1.039 GB, free: 12.34 MB / 0.795 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=480 -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