Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_latest_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_latest_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.001148/0.001148, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003525, allocations: 8 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3244, allocations: 159.6 MB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001755/0.3262, allocations: 1.151 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006298/0.3269, allocations: 395 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.327, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.327, allocations: 0 / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.3271, allocations: 7.922 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001435/0.3272, allocations: 12 kB / 1.061 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.3273, allocations: 23.92 kB / 1.061 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.953e-05/0.3274, allocations: 4 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.456e-05/0.3275, allocations: 15.86 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.3276, allocations: 11.94 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3276, allocations: 4 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.3276, allocations: 4 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.3276, allocations: 7.969 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.3277, allocations: 33.64 kB / 1.061 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.797e-05/0.3277, allocations: 11.97 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3277, allocations: 0 / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3277, allocations: 4 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3277, allocations: 0 / 1.061 GB, free: 3.293 MB / 0.8106 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.0003947/0.3281, allocations: 331.8 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3282, allocations: 12.03 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.939e-05/0.3282, allocations: 4.844 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3284, allocations: 164.4 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3284, allocations: 384 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3284, allocations: 384 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3285, allocations: 57.97 kB / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.3286, allocations: 0 / 1.062 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3286, allocations: 3.938 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3286, allocations: 0 / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.3287, allocations: 27.92 kB / 1.062 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.329, allocations: 248.9 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.833e-05/0.3291, allocations: 34.56 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.3292, allocations: 16.92 kB / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3292, allocations: 0 / 1.062 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3293, allocations: 42.48 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3293, allocations: 7.938 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002465/0.3295, allocations: 65.69 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3296, allocations: 51.41 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.3297, allocations: 105.8 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.3297, allocations: 25.7 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.3297, allocations: 84.14 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.3298, allocations: 11.84 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.3298, allocations: 13.7 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3299, allocations: 314.8 kB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.33, allocations: 12.03 kB / 1.063 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.629e-05/0.33, allocations: 11.98 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.72e-05/0.3301, allocations: 36.72 kB / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3301, allocations: 0 / 1.063 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001311/0.3302, allocations: 57.75 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3303, allocations: 8 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3303, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3303, allocations: 0 / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/0.3304, allocations: 7.984 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3304, allocations: 0 / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.3304, allocations: 4 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3304, allocations: 0 / 1.063 GB, free: 1.344 MB / 0.8106 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.322e-05/0.3305, allocations: 117.8 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.3305, allocations: 3.906 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.168e-05/0.3306, allocations: 7.531 kB / 1.063 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3306, allocations: 7.984 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3306, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3306, allocations: 3.938 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.3308, allocations: 157.6 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3308, allocations: 0 / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.3308, allocations: 4 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3308, allocations: 8.234 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.3308, allocations: 4 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3308, allocations: 4 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3308, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.331, allocations: 151.4 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.3311, allocations: 77.14 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3311, allocations: 15.92 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.3312, allocations: 4 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3312, allocations: 0 / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.3312, allocations: 4 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.3312, allocations: 83.27 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002116/0.3315, allocations: 4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 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.0001079/0.3316, allocations: 107.2 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3317, allocations: 23.98 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3317, allocations: 0 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.3318, allocations: 12 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.332, allocations: 7.922 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.3323, allocations: 162.3 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3326, allocations: 0.677 MB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.3326, allocations: 11.44 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3326, allocations: 0 / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of Templates: time 0.001871/0.3345, allocations: 0.5059 MB / 1.065 GB, free: 15.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches