Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 112.7 kB / 15.99 MB, free: 5.914 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.001756/0.001757, allocations: 196 kB / 16.91 MB, free: 5.754 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.744/2.744, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 72.33 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.372, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003033/0.3751, allocations: 1.498 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007073/0.3758, allocations: 387.2 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.3759, allocations: 4 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.3759, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.376, allocations: 7.938 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.3761, allocations: 15.97 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.969e-05/0.3762, allocations: 19.94 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.3763, allocations: 8 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.3764, allocations: 11.92 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3765, allocations: 15.92 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.3765, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.3765, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.3765, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.3766, allocations: 19.92 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.762e-05/0.3766, allocations: 15.97 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3767, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3767, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3767, allocations: 0 / 1.066 GB, free: 13.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000511/0.3772, allocations: 335.7 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3772, allocations: 8.625 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.3773, allocations: 4.875 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.3774, allocations: 172.3 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3775, allocations: 8.312 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3775, allocations: 384 / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.3776, allocations: 46 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3776, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3776, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3777, allocations: 4 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.3777, allocations: 15.98 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3782, allocations: 256.8 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3783, allocations: 34.55 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.3784, allocations: 20.91 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3784, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3784, allocations: 30.56 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.3784, allocations: 0 / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.3787, allocations: 57.69 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.3787, allocations: 59.33 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.118e-05/0.3788, allocations: 101.9 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3789, allocations: 25.7 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.3789, allocations: 92.12 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.379, allocations: 7.844 kB / 1.067 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.379, allocations: 17.72 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3792, allocations: 315 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.175e-05/0.3792, allocations: 7.984 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.3793, allocations: 12 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.3793, allocations: 24.78 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3793, allocations: 4.25 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.3795, allocations: 49.69 kB / 1.068 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3795, allocations: 12 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/0.3795, allocations: 11.92 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3795, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.596e-05/0.3796, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.3796, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.3797, allocations: 4 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3797, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001014/0.3798, allocations: 120 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3798, allocations: 8 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.3798, allocations: 3.531 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3799, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3799, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3799, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3801, allocations: 161.6 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3801, allocations: 3.938 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.3801, allocations: 7.984 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3801, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3801, allocations: 3.938 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3801, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3801, allocations: 4 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.3803, allocations: 155.4 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.3804, allocations: 85.02 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.3804, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.3805, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.3805, allocations: 3.984 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3805, allocations: 8.031 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.3806, allocations: 87.27 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3806, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002106/0.3808, allocations: 4 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (2): * Single equations (assignments): 2 * 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.0001159/0.3809, allocations: 95.25 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3811, allocations: 23.98 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3811, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.3811, allocations: 19.98 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.3814, allocations: 9.828 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.3817, allocations: 144.4 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3821, allocations: 0.6768 MB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.3822, allocations: 7.438 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3822, allocations: 0 / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.002003/0.3842, allocations: 0.5187 MB / 1.07 GB, free: 8.879 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches