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.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.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.01005/0.01005, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.002079/0.002079, allocations: 198.4 kB / 16.68 MB, free: 5.938 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.706/2.706, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 72.08 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002618/1.01, allocations: 1.432 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006291/1.011, allocations: 395.1 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/1.011, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/1.011, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/1.011, allocations: 7.922 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/1.011, allocations: 11.98 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/1.011, allocations: 23.88 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/1.011, allocations: 7.984 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/1.011, allocations: 15.88 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/1.012, allocations: 7.984 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/1.012, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/1.012, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/1.012, allocations: 11.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/1.012, allocations: 11.94 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.182e-05/1.012, allocations: 19.91 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.012, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.412e-06/1.012, allocations: 0 / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.26e-06/1.012, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 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.0004349/1.012, allocations: 335.3 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.012, allocations: 16.03 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/1.012, allocations: 0.9375 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.012, allocations: 168.3 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/1.012, allocations: 384 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/1.012, allocations: 384 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/1.013, allocations: 49.94 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/1.013, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/1.013, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.013, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/1.013, allocations: 23.97 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/1.013, allocations: 248.9 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/1.013, allocations: 34.61 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/1.013, allocations: 20.8 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/1.013, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.013, allocations: 38.56 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/1.013, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002273/1.013, allocations: 57.67 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/1.014, allocations: 51.41 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.84e-05/1.014, allocations: 109.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.014, allocations: 25.7 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.713e-05/1.014, allocations: 84.14 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/1.014, allocations: 17.84 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/1.014, allocations: 13.72 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/1.014, allocations: 322.8 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/1.014, allocations: 7.938 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.107e-05/1.014, allocations: 11.98 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.321e-05/1.014, allocations: 28.78 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.014, allocations: 0 / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/1.014, allocations: 61.59 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.014, allocations: 4 kB / 1.211 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.014, allocations: 4 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.014, allocations: 3.938 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/1.014, allocations: 7.984 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.014, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/1.014, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/1.014, allocations: 0 / 1.211 GB, free: 9.734 MB / 0.9356 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.933e-05/1.014, allocations: 121.8 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/1.014, allocations: 0 / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/1.014, allocations: 11.53 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/1.014, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.014, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/1.014, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/1.015, allocations: 161.6 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/1.015, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/1.015, allocations: 4 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.015, allocations: 0 / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/1.015, allocations: 8 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.015, allocations: 3.984 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.015, allocations: 0 / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.015, allocations: 147.5 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/1.015, allocations: 81.02 kB / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/1.015, allocations: 0 / 1.212 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.524e-05/1.015, allocations: 7.984 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.015, allocations: 7.969 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/1.015, allocations: 256 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.469e-05/1.015, allocations: 91.28 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.015, allocations: 0 / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002031/1.015, allocations: 0 / 1.212 GB, free: 9 MB / 0.9356 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 9.608e-05/1.015, allocations: 103.2 kB / 1.212 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001281/1.016, allocations: 19.98 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.016, allocations: 4.062 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/1.016, allocations: 8 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/1.016, allocations: 14.06 kB / 1.212 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/1.016, allocations: 122.5 kB / 1.212 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/1.016, allocations: 0.6768 MB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.141e-05/1.016, allocations: 0 / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/1.016, allocations: 15.48 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/1.016, allocations: 3.938 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of Templates: time 0.002087/1.019, allocations: 314.1 kB / 1.213 GB, free: 7.672 MB / 0.9356 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/jenkins/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