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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001129/0.001129, allocations: 98.88 kB / 16.02 MB, free: 76 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.001499/0.001499, allocations: 184.2 kB / 16.92 MB, free: 6.684 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.625/2.625, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003794, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7371, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001803/0.739, allocations: 1.149 MB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000638/0.7396, allocations: 387.2 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.7397, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.7397, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.7398, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.7399, allocations: 8 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.74, allocations: 23.92 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.7401, allocations: 8 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.609e-05/0.7402, allocations: 19.86 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.7403, allocations: 11.98 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.7403, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.7403, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.7403, allocations: 3.984 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.7404, allocations: 37.64 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.7405, allocations: 15.97 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7405, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7405, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7405, allocations: 0 / 1.025 GB, free: 14.22 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.0004216/0.7409, allocations: 329.5 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.741, allocations: 11.98 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.741, allocations: 8.844 kB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.7412, allocations: 164.3 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.7412, allocations: 12.38 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7412, allocations: 384 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.7414, allocations: 49.92 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.7414, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7414, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7414, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-05/0.7415, allocations: 23.92 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.742, allocations: 256.9 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.7421, allocations: 26.56 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.7421, allocations: 24.86 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.7422, allocations: 7.984 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.7422, allocations: 34.55 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.7422, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002578/0.7425, allocations: 69.59 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.7425, allocations: 51.41 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.7426, allocations: 113.9 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.7426, allocations: 25.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.7427, allocations: 84.14 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.7427, allocations: 3.906 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.7427, allocations: 13.7 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7429, allocations: 314.8 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.7429, allocations: 11.94 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.743, allocations: 15.98 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.7431, allocations: 32.78 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.7431, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001312/0.7432, allocations: 53.69 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7432, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7432, allocations: 4.094 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7433, allocations: 4 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.7433, allocations: 7.984 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7434, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.424e-05/0.7434, allocations: 4 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.7434, allocations: 0 / 1.027 GB, free: 12.27 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.597e-05/0.7435, allocations: 118.2 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.7435, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.142e-05/0.7436, allocations: 7.781 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.7436, allocations: 3.984 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.7436, allocations: 4 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.7436, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.7438, allocations: 165.6 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7438, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.7438, allocations: 8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.7439, allocations: 3.984 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.7439, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7439, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7439, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.7441, allocations: 155.4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.7441, allocations: 77.11 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.7441, allocations: 3.938 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.7442, allocations: 7.984 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.7443, allocations: 7.969 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.7443, allocations: 3.938 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.936e-05/0.7443, allocations: 87.27 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7443, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002165/0.7445, allocations: 4 kB / 1.028 GB, free: 11.52 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.0001047/0.7447, allocations: 99.25 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.7448, allocations: 27.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7448, allocations: 0 / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.7449, allocations: 12 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.7451, allocations: 15.86 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.7454, allocations: 150.3 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.7457, allocations: 0.685 MB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.7457, allocations: 7.438 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7457, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.001964/0.7477, allocations: 0.5067 MB / 1.029 GB, free: 9.961 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=480 -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/jenkins1/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