Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001214/0.001214, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001303/0.001303, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 64.78 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3465, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003785/0.3503, allocations: 1.852 MB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.3527, allocations: 1.252 MB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.3533, allocations: 8 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.3537, allocations: 75.19 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.3541, allocations: 63.39 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.3547, allocations: 163.8 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.3554, allocations: 493 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.3559, allocations: 271.4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.3562, allocations: 175.3 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3565, allocations: 195 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.9e-05/0.3566, allocations: 56 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.896e-05/0.3567, allocations: 56 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.3568, allocations: 107.6 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.357, allocations: 214.8 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.3576, allocations: 0.5531 MB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3576, allocations: 4 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3576, allocations: 0 / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.3577, allocations: 0 / 1.07 GB, free: 9.48 MB / 0.8419 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.001436/0.3591, allocations: 0.7407 MB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3592, allocations: 16.02 kB / 1.07 GB, free: 8.672 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3593, allocations: 48.38 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.3598, allocations: 340.3 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.3598, allocations: 29.38 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.3599, allocations: 52.28 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.3607, allocations: 407.5 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3607, allocations: 192 / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.3607, allocations: 19.94 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.3607, allocations: 12 kB / 1.071 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.3614, allocations: 279.9 kB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.3637, allocations: 1.374 MB / 1.073 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.3644, allocations: 250.9 kB / 1.073 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.3647, allocations: 116.8 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.3647, allocations: 7.938 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3648, allocations: 38.5 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.3648, allocations: 0 / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0007117/0.3655, allocations: 303.1 kB / 1.074 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.3656, allocations: 102.8 kB / 1.074 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004959/0.3661, allocations: 409.5 kB / 1.074 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.3661, allocations: 29.7 kB / 1.074 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.3663, allocations: 251.7 kB / 1.074 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/0.3664, allocations: 74.98 kB / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3665, allocations: 69.92 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3666, allocations: 346.8 kB / 1.075 GB, free: 3.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.3669, allocations: 114.1 kB / 1.075 GB, free: 3.867 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.3672, allocations: 208.3 kB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.3678, allocations: 279.5 kB / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3678, allocations: 0 / 1.075 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007676/0.3686, allocations: 362.7 kB / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3686, allocations: 11.98 kB / 1.076 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3686, allocations: 4 kB / 1.076 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.3686, allocations: 7.938 kB / 1.076 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3689, allocations: 63.91 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.3689, allocations: 4 kB / 1.076 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.3692, allocations: 63.5 kB / 1.076 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3693, allocations: 8 kB / 1.076 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002921/0.3696, allocations: 204.8 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002545/0.3698, allocations: 183 kB / 1.076 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000343/0.3702, allocations: 237.4 kB / 1.076 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.3702, allocations: 0 / 1.076 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000564/0.3708, allocations: 319.3 kB / 1.077 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3708, allocations: 8 kB / 1.077 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.3708, allocations: 0 / 1.077 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.3708, allocations: 4 kB / 1.077 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.371, allocations: 67.84 kB / 1.077 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3711, allocations: 8 kB / 1.077 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3713, allocations: 39.94 kB / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.3713, allocations: 20 kB / 1.077 GB, free: 1.664 MB / 0.8419 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.0001621/0.3715, allocations: 196.7 kB / 1.077 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.3716, allocations: 31.62 kB / 1.077 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.3721, allocations: 240.9 kB / 1.077 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3721, allocations: 4 kB / 1.077 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3721, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.3721, allocations: 3.984 kB / 1.077 GB, free: 1.184 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.3735, allocations: 0.7794 MB / 1.078 GB, free: 340 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3735, allocations: 7.984 kB / 1.078 GB, free: 332 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3737, allocations: 47.86 kB / 1.078 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.3737, allocations: 4 kB / 1.078 GB, free: 280 kB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3738, allocations: 3.984 kB / 1.078 GB, free: 276 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3738, allocations: 4 kB / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3738, allocations: 0 / 1.078 GB, free: 272 kB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.532/0.9058, allocations: 458.6 kB / 1.079 GB, free: 22.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.906, allocations: 123.1 kB / 1.079 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.906, allocations: 8.125 kB / 1.079 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.9063, allocations: 17.67 kB / 1.079 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.9063, allocations: 15.7 kB / 1.079 GB, free: 22 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.9064, allocations: 10.66 kB / 1.079 GB, free: 22 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003531/0.9067, allocations: 283.7 kB / 1.079 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9067, allocations: 1.219 kB / 1.079 GB, free: 21.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005715/0.9073, allocations: 130.1 kB / 1.079 GB, free: 21.93 MB / 0.8419 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.0001489/0.9075, allocations: 110.5 kB / 1.079 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.9083, allocations: 406.6 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9084, allocations: 0.5625 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.9086, allocations: 98.97 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005662/0.9092, allocations: 68.12 kB / 1.08 GB, free: 21.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.9104, allocations: 0.7045 MB / 1.08 GB, free: 21.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.9107, allocations: 0.8 MB / 1.081 GB, free: 20.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.9108, allocations: 30.77 kB / 1.081 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.9108, allocations: 0 / 1.081 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.008638/0.9195, allocations: 4.34 MB / 1.086 GB, free: 20.44 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches