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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 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.001068/0.001068, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.398/2.398, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6842/0.6855, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002559/0.6881, allocations: 1.415 MB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000579/0.6887, allocations: 403.1 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.275e-05/0.6887, allocations: 0 / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.6887, allocations: 3.984 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.6888, allocations: 7.938 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.6889, allocations: 7.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.689, allocations: 27.92 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.6891, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.6892, allocations: 23.91 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.6892, allocations: 11.98 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.6892, allocations: 3.938 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-06/0.6893, allocations: 0 / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.6893, allocations: 4 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.6893, allocations: 7.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.606e-05/0.6894, allocations: 23.91 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6894, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6894, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.6894, allocations: 4 kB / 1.019 GB, free: 0.5312 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.0003446/0.6898, allocations: 337.6 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6898, allocations: 8.031 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.964e-05/0.6898, allocations: 30.75 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.6899, allocations: 8.922 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.69, allocations: 176.2 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.69, allocations: 384 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.69, allocations: 4.375 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.6901, allocations: 45.81 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.6901, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.6901, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.6902, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.6902, allocations: 15.98 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.6905, allocations: 256.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.6906, allocations: 42.44 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.6907, allocations: 20.91 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.6907, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6907, allocations: 30.56 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6907, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002172/0.6909, allocations: 61.67 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.691, allocations: 63.47 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.6911, allocations: 101.8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.6911, allocations: 29.7 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.6911, allocations: 80.14 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.6911, allocations: 7.906 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.6912, allocations: 13.72 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6913, allocations: 318.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.6913, allocations: 8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.963e-05/0.6914, allocations: 15.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.988e-05/0.6915, allocations: 24.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6915, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001112/0.6916, allocations: 57.61 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.6916, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6916, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.6916, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.6917, allocations: 8.094 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.6917, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.6917, allocations: 7.984 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.6918, allocations: 0 / 1.021 GB, free: 14.55 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 6.465e-05/0.6918, allocations: 113.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.6919, allocations: 7.906 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/0.6919, allocations: 3.531 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6919, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6919, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.6919, allocations: 4 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.6921, allocations: 165.6 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6921, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.6921, allocations: 4.25 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6921, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.6921, allocations: 8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6921, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6921, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.6923, allocations: 155.4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.6923, allocations: 81.11 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.6923, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.778e-05/0.6924, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.6924, allocations: 11.92 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.6924, allocations: 0 / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.6925, allocations: 83.28 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6925, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00021/0.6927, allocations: 4.031 kB / 1.022 GB, free: 13.83 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.0003651/0.6931, allocations: 0.6928 MB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.6932, allocations: 23.92 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6932, allocations: 4.094 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/0.6933, allocations: 15.98 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.6935, allocations: 8.438 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.6938, allocations: 136.4 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.694, allocations: 0.6806 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.6941, allocations: 4.062 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.6941, allocations: 15.44 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6941, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.729, allocations: 1.183 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.681, allocations: 11.7 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > 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