Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001787/0.001787, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001962/0.001962, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.839/2.839, allocations: 437 MB / 0.7101 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7176/0.7196, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003057/0.7227, allocations: 1.495 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007288/0.7235, allocations: 391.2 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.7235, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.7236, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.7236, allocations: 7.938 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.7238, allocations: 7.984 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.7239, allocations: 19.94 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.724, allocations: 11.98 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.962e-05/0.7241, allocations: 19.92 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.7242, allocations: 11.98 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.7242, allocations: 0 / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.7242, allocations: 7.938 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.7243, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.7243, allocations: 7.938 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.849e-05/0.7244, allocations: 27.89 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7244, allocations: 0 / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7244, allocations: 4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7244, allocations: 0 / 1.019 GB, free: 0.6719 MB / 0.7637 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.0005321/0.725, allocations: 337.4 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.725, allocations: 8.031 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.725, allocations: 0.9375 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.7252, allocations: 176.2 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.7252, allocations: 4.375 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.7253, allocations: 4.359 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.7254, allocations: 46 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7254, allocations: 0 / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.7254, allocations: 4 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7255, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.7255, allocations: 11.98 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.726, allocations: 264.8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.7261, allocations: 26.58 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.7261, allocations: 20.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.7262, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7262, allocations: 34.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.7262, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002594/0.7265, allocations: 65.61 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.7265, allocations: 55.53 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.7266, allocations: 109.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7267, allocations: 25.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.7267, allocations: 88.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.7267, allocations: 3.906 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.7268, allocations: 13.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7269, allocations: 314.8 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.055e-05/0.727, allocations: 7.984 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.727, allocations: 12 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.814e-05/0.7271, allocations: 28.78 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7271, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.7272, allocations: 57.55 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.7273, allocations: 8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7273, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7273, allocations: 96 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.7274, allocations: 8 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7274, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.7274, allocations: 11.98 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.7274, allocations: 0 / 1.02 GB, free: 14.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/0.7275, allocations: 109.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.7276, allocations: 7.906 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.7276, allocations: 7.531 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7276, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7276, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7276, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.7278, allocations: 165.6 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7278, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.7279, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.7279, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.7279, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7279, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.7279, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.7281, allocations: 155.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.7281, allocations: 81.11 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.7282, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.7282, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.7283, allocations: 3.984 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.7283, allocations: 4.25 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.7284, allocations: 83.28 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7284, allocations: 3.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002117/0.7286, allocations: 8.031 kB / 1.021 GB, free: 14.01 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 (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.0001209/0.7287, allocations: 99.78 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.7289, allocations: 31.91 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7289, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.7289, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.7291, allocations: 16.94 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.7295, allocations: 122.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.7298, allocations: 0.6806 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.535e-05/0.7299, allocations: 3.984 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.7299, allocations: 7.438 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7299, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.002648/0.7326, allocations: 298.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches