Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008671/0.008671, allocations: 97.58 kB / 15.73 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.001756/0.001756, allocations: 191.8 kB / 16.67 MB, free: 5.918 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 57.84 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00291/0.371, allocations: 1.431 MB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007094/0.3717, allocations: 384.6 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.3718, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.253e-05/0.3718, allocations: 7.938 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.3719, allocations: 3.938 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3721, allocations: 7.984 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.086e-05/0.3722, allocations: 31.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3723, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3724, allocations: 19.92 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.3725, allocations: 7.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.3725, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.3725, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3726, allocations: 11.94 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.3726, allocations: 11.92 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.3727, allocations: 27.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3727, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3728, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3728, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 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.0004698/0.3732, allocations: 335.5 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3733, allocations: 8.031 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3733, allocations: 4.938 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.3735, allocations: 172.3 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3735, allocations: 4.375 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3735, allocations: 384 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.3737, allocations: 49.98 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3737, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3737, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3737, allocations: 0 / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/0.3738, allocations: 23.92 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3742, allocations: 252.9 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.3743, allocations: 30.56 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.3743, allocations: 12.92 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.3743, allocations: 0 / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.3744, allocations: 42.55 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3744, allocations: 3.938 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002446/0.3746, allocations: 65.61 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3747, allocations: 51.41 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.3748, allocations: 105.8 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3748, allocations: 25.7 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.3748, allocations: 88.09 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.3749, allocations: 7.891 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3749, allocations: 17.83 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.375, allocations: 318.8 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.3751, allocations: 8 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.3751, allocations: 11.98 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.3752, allocations: 32.72 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3752, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001063/0.3753, allocations: 53.75 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3754, allocations: 4 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3754, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.3754, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.3755, allocations: 7.984 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3755, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.3755, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.3755, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 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 7.751e-05/0.3756, allocations: 113.8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3756, allocations: 4.031 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.3757, allocations: 11.52 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3757, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3757, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3757, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3759, allocations: 157.6 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3759, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.3759, allocations: 11.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3759, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3759, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3759, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.376, allocations: 8 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.3761, allocations: 151.7 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.3762, allocations: 81.09 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3762, allocations: 4 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.3763, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3763, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3763, allocations: 4.031 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.3764, allocations: 87.27 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.513e-06/0.3764, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000203/0.3766, allocations: 11.88 kB / 1.092 GB, free: 12.87 MB / 0.8575 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.0001149/0.3767, allocations: 99.19 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.3769, allocations: 23.98 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3769, allocations: 0 / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.3769, allocations: 16.05 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.3772, allocations: 5.656 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.3775, allocations: 122.6 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.3777, allocations: 0.6806 MB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.3778, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.3778, allocations: 11.44 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3778, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of Templates: time 0.002322/0.3801, allocations: 312.6 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches