Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007782/0.007782, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001584/0.001584, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.856/2.856, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002826/0.3334, allocations: 1.443 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.3342, allocations: 395.1 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.3342, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.3342, allocations: 3.938 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.3343, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3344, allocations: 15.92 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.3345, allocations: 23.92 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.592e-05/0.3346, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.3347, allocations: 15.92 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.3348, allocations: 11.92 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3348, allocations: 8 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-06/0.3348, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3348, allocations: 7.984 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3348, allocations: 11.94 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.652e-05/0.3349, allocations: 19.91 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3349, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3349, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3349, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 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.0004416/0.3354, allocations: 340.7 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3354, allocations: 12.03 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3355, allocations: 8.875 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3356, allocations: 176.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3356, allocations: 384 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3356, allocations: 384 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.3358, allocations: 46 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.3358, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3358, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3358, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.3359, allocations: 19.98 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.3362, allocations: 252.8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.3363, allocations: 30.61 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.3363, allocations: 20.91 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.3363, allocations: 3.984 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.3364, allocations: 38.56 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3364, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002404/0.3366, allocations: 61.61 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3367, allocations: 51.41 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.3368, allocations: 101.9 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3368, allocations: 25.7 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.3368, allocations: 88.12 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3368, allocations: 11.95 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.3369, allocations: 25.66 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.337, allocations: 310.8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.337, allocations: 11.98 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.3371, allocations: 8 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.3371, allocations: 28.78 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3371, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001243/0.3373, allocations: 61.64 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3373, allocations: 10.48 kB / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3373, allocations: 0 / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3373, allocations: 0 / 1.224 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.3374, allocations: 4 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3374, allocations: 4 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.23e-05/0.3374, allocations: 0 / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.3374, allocations: 0 / 1.224 GB, free: 9.926 MB / 0.9825 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.758e-05/0.3375, allocations: 122.3 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.3375, allocations: 4 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.3375, allocations: 3.531 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3375, allocations: 0 / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3375, allocations: 4 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3375, allocations: 0 / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.3377, allocations: 157.6 kB / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.3377, allocations: 0 / 1.224 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.3377, allocations: 8.234 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3377, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3378, allocations: 8 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3378, allocations: 0 / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3378, allocations: 4 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.3379, allocations: 159.4 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.338, allocations: 81.06 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.338, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.338, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3381, allocations: 4.031 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3381, allocations: 0 / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.3381, allocations: 87.27 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3381, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002126/0.3383, allocations: 7.938 kB / 1.225 GB, free: 9.188 MB / 0.9825 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.0001074/0.3384, allocations: 95.25 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.3386, allocations: 31.92 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3386, allocations: 4.062 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.3386, allocations: 11.98 kB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.3388, allocations: 9.062 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.3391, allocations: 118.4 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3393, allocations: 0.6768 MB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3394, allocations: 4 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.3394, allocations: 11.5 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3394, allocations: 0 / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of Templates: time 0.002175/0.3416, allocations: 316.6 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches