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.007833/0.007834, allocations: 97.62 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.001645/0.001645, allocations: 201.5 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.844/2.844, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 64.12 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3111, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.003025/0.3142, allocations: 1.422 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.3149, allocations: 407.1 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.315, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.3151, allocations: 0 / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.3151, allocations: 7.922 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.3153, allocations: 7.938 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.233e-05/0.3154, allocations: 27.86 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3155, allocations: 8 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.3156, allocations: 19.97 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.3157, allocations: 11.92 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3157, allocations: 4 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.3157, allocations: 0 / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3157, allocations: 4 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.3158, allocations: 7.938 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.3159, allocations: 27.84 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3159, allocations: 0 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3159, allocations: 0 / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3159, allocations: 4 kB / 1.168 GB, free: 4.855 MB / 0.92 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.0004088/0.3163, allocations: 335.4 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3164, allocations: 8.031 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.3164, allocations: 0.9375 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3165, allocations: 184.2 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3165, allocations: 4.312 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3166, allocations: 384 / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.3167, allocations: 46 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3167, allocations: 4 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3167, allocations: 0 / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3168, allocations: 4 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.3168, allocations: 15.98 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3172, allocations: 256.9 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.781e-05/0.3173, allocations: 30.52 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.391e-05/0.3174, allocations: 24.91 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.3174, allocations: 3.938 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3174, allocations: 30.56 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.3174, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000233/0.3177, allocations: 61.67 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3177, allocations: 55.34 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.918e-05/0.3178, allocations: 106 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.3178, allocations: 25.7 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.3179, allocations: 88.12 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3179, allocations: 7.953 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3179, allocations: 9.719 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.318, allocations: 314.8 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.35e-05/0.3181, allocations: 11.98 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.008e-05/0.3181, allocations: 8 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.3182, allocations: 28.78 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3182, allocations: 0 / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.3183, allocations: 57.61 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3184, allocations: 8 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3184, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3184, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.3185, allocations: 4 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3185, allocations: 4.094 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.3185, allocations: 3.953 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.3185, allocations: 7.984 kB / 1.17 GB, free: 2.918 MB / 0.92 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.128e-05/0.3186, allocations: 113.8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3186, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.3187, allocations: 3.531 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3187, allocations: 3.938 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3187, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3187, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3189, allocations: 165.6 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3189, allocations: 0 / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.3189, allocations: 8.25 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3189, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3189, allocations: 8 kB / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3189, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.319, allocations: 0 / 1.17 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3191, allocations: 155.4 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3192, allocations: 81.06 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3192, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.3193, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.3193, allocations: 3.984 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3193, allocations: 7.984 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.3194, allocations: 87.22 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3194, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002115/0.3196, allocations: 4 kB / 1.171 GB, free: 2.184 MB / 0.92 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.0001052/0.3197, allocations: 99.28 kB / 1.171 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.3198, allocations: 19.98 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3198, allocations: 4 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.3199, allocations: 15.92 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3201, allocations: 7.938 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3204, allocations: 122.6 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.3207, allocations: 0.6807 MB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.147e-05/0.3207, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.3207, allocations: 7.438 kB / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of SimCode: time 3.51e-07/0.3207, allocations: 0 / 1.172 GB, free: 1.172 MB / 0.92 GB Notification: Performance of Templates: time 0.002375/0.3231, allocations: 323 kB / 1.172 GB, free: 0.8594 MB / 0.92 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/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