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.001099/0.001099, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001289/0.00129, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 8 kB / 0.8708 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8726, allocations: 153.7 MB / 1.021 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001577/0.8742, allocations: 1.137 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005922/0.8748, allocations: 367.6 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.8748, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.8749, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.8749, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.875, allocations: 11.97 kB / 1.022 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.268e-05/0.8751, allocations: 11.94 kB / 1.022 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.8752, allocations: 7.984 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.8752, allocations: 15.98 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.8753, allocations: 7.938 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.8753, allocations: 0 / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.8753, allocations: 4 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.8754, allocations: 3.984 kB / 1.022 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.8754, allocations: 29.7 kB / 1.022 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 4.707e-05/0.8754, allocations: 7.984 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.8754, allocations: 3.938 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.52e-07/0.8755, allocations: 3.938 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.8755, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 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.000375/0.8758, allocations: 341.3 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8759, allocations: 11.98 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.8759, allocations: 7.906 kB / 1.023 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.8761, allocations: 167 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.8761, allocations: 4 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.8761, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.8762, allocations: 45.64 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-06/0.8762, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.8762, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.8762, allocations: 0 / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.8763, allocations: 27.97 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.8767, allocations: 256.8 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.478e-05/0.8768, allocations: 34.56 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.8768, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.8768, allocations: 34.62 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.8768, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002099/0.877, allocations: 61.62 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.8771, allocations: 55.53 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.472e-05/0.8772, allocations: 105.8 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.8772, allocations: 29.7 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.8772, allocations: 80.14 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.8773, allocations: 11.89 kB / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.8773, allocations: 0 / 1.024 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8774, allocations: 314.8 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.8775, allocations: 12 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.8775, allocations: 15.98 kB / 1.024 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.8775, allocations: 4 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8776, allocations: 4 kB / 1.024 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001142/0.8777, allocations: 65.47 kB / 1.024 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8777, allocations: 12.09 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.8777, allocations: 256 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.8777, allocations: 0 / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.8778, allocations: 8 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.8778, allocations: 3.938 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.209e-05/0.8778, allocations: 7.984 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.8778, allocations: 0 / 1.024 GB, free: 13.63 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.426e-05/0.8779, allocations: 113.8 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.878, allocations: 7.953 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.507e-05/0.878, allocations: 3.531 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.878, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.878, allocations: 4 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-06/0.878, allocations: 0 / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.8782, allocations: 157.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8782, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.8782, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.8782, allocations: 3.953 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.8782, allocations: 4 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.8782, allocations: 0 / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8782, allocations: 7.984 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.8784, allocations: 155.5 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.8785, allocations: 81.02 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.8785, allocations: 3.953 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.8786, allocations: 8.031 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.8786, allocations: 7.922 kB / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.8786, allocations: 0 / 1.025 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.8786, allocations: 87.28 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8787, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002001/0.8789, allocations: 0 / 1.025 GB, free: 12.9 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001178/0.879, allocations: 99.25 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.8791, allocations: 27.98 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8791, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.8792, allocations: 19.92 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.8793, allocations: 7.938 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.8796, allocations: 124.7 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.8799, allocations: 0.6887 MB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.8799, allocations: 0 / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.8799, allocations: 7.438 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.88, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.002227/0.8822, allocations: 269.6 kB / 1.026 GB, free: 11.6 MB / 0.7794 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","../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches