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.001284/0.001284, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001239/0.001239, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 63.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8694/0.871, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002999/0.874, allocations: 1.425 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000769/0.8748, allocations: 403 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.8749, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.875, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.108e-05/0.875, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.8752, allocations: 11.98 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.8753, allocations: 19.92 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.8754, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.8755, allocations: 11.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.8756, allocations: 15.92 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.8756, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.8756, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.8757, allocations: 3.938 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.8757, allocations: 15.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.8758, allocations: 11.98 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.8758, allocations: 3.938 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.849e-06/0.8759, allocations: 3.984 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.8759, allocations: 0 / 1.21 GB, free: 11.64 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.0006619/0.8765, allocations: 335.3 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.8766, allocations: 8.031 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.8767, allocations: 8.938 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.8769, allocations: 168.3 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8769, allocations: 8.375 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.8769, allocations: 384 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.8771, allocations: 49.92 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.8771, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8772, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.8772, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.8773, allocations: 19.92 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.8778, allocations: 256.9 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.8779, allocations: 30.5 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.8779, allocations: 16.92 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.878, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.878, allocations: 42.55 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.878, allocations: 0 / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002754/0.8783, allocations: 57.69 kB / 1.211 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8783, allocations: 51.41 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8785, allocations: 105.8 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.8785, allocations: 25.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.8786, allocations: 84.14 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.8786, allocations: 9.672 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.8787, allocations: 25.83 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.8789, allocations: 310.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.8789, allocations: 15.98 kB / 1.212 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.8789, allocations: 4 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.879, allocations: 28.78 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.879, allocations: 0 / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001266/0.8792, allocations: 57.66 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8792, allocations: 4 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8792, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8792, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.8793, allocations: 15.86 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8793, allocations: 4 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.8794, allocations: 4 kB / 1.212 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.8794, allocations: 0 / 1.212 GB, free: 9.703 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 9.102e-05/0.8795, allocations: 117.8 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.8795, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.8796, allocations: 7.516 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8796, allocations: 3.984 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8796, allocations: 4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.8796, allocations: 0 / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.8798, allocations: 161.6 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8798, allocations: 0 / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.8798, allocations: 8.234 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.8798, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.8799, allocations: 4 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8799, allocations: 4 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.8799, allocations: 4 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.8801, allocations: 147.4 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.8801, allocations: 85 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.8801, allocations: 3.938 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/0.8802, allocations: 4 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.8802, allocations: 8.031 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.8802, allocations: 0 / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.8803, allocations: 83.27 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8803, allocations: 0 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002158/0.8805, allocations: 4 kB / 1.213 GB, free: 8.965 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 0.0001212/0.8806, allocations: 99.25 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.8808, allocations: 19.98 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8808, allocations: 4.062 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.8808, allocations: 19.92 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.8811, allocations: 7.875 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.8814, allocations: 140.3 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.8817, allocations: 0.6768 MB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.8817, allocations: 11.44 kB / 1.214 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.8817, allocations: 4 kB / 1.214 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of Templates: time 0.00187/0.8836, allocations: 0.4995 MB / 1.214 GB, free: 7.422 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/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