Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 123.8 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.082/3.082, allocations: 0.5003 GB / 0.8026 GB, free: 6.91 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 178.9 MB / 1.34 GB, free: 16.31 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002932/1.012, allocations: 1.462 MB / 1.342 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007596/1.013, allocations: 474.5 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/1.013, allocations: 0 / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/1.013, allocations: 0.7031 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/1.013, allocations: 5.031 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/1.013, allocations: 26.44 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/1.013, allocations: 25.56 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/1.013, allocations: 12.3 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/1.013, allocations: 18.77 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/1.013, allocations: 10.17 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/1.013, allocations: 1.375 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.228e-05/1.013, allocations: 16.33 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/1.013, allocations: 1.906 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/1.014, allocations: 15.78 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/1.014, allocations: 32.38 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/1.014, allocations: 4.516 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.014, allocations: 1.406 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.42e-06/1.014, allocations: 0 / 1.342 GB, free: 14.87 MB / 1.061 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.0003848/1.014, allocations: 337.5 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.014, allocations: 9.719 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.822e-05/1.014, allocations: 0.7031 kB / 1.342 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.058e-05/1.014, allocations: 33.02 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/1.014, allocations: 14.53 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/1.014, allocations: 179.2 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.014, allocations: 1.625 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/1.014, allocations: 1.406 kB / 1.343 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/1.015, allocations: 50.36 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.015, allocations: 0 / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/1.015, allocations: 0.6094 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/1.015, allocations: 1.094 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/1.015, allocations: 17.92 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/1.015, allocations: 252.9 kB / 1.343 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.674e-05/1.015, allocations: 29.42 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/1.015, allocations: 23.38 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.015, allocations: 0.7969 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/1.015, allocations: 36.12 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/1.015, allocations: 3.984 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000245/1.015, allocations: 55.95 kB / 1.343 GB, free: 13.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.015, allocations: 53.47 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/1.015, allocations: 104.2 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/1.015, allocations: 30.31 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/1.016, allocations: 86.64 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/1.016, allocations: 6.531 kB / 1.343 GB, free: 13.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.016, allocations: 20.42 kB / 1.343 GB, free: 13.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/1.016, allocations: 318.1 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/1.016, allocations: 13.69 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/1.016, allocations: 8.375 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/1.016, allocations: 23.36 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.016, allocations: 6.344 kB / 1.344 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/1.016, allocations: 57.03 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.016, allocations: 7.406 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.016, allocations: 2.203 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/1.016, allocations: 3.938 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/1.016, allocations: 5.891 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.016, allocations: 4.609 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.026e-05/1.016, allocations: 6.031 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.016, allocations: 2.109 kB / 1.344 GB, free: 13.1 MB / 1.061 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 4.655e-05/1.016, allocations: 119.8 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/1.016, allocations: 2.25 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/1.016, allocations: 5.891 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.016, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/1.016, allocations: 1.312 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.016, allocations: 0.7969 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/1.016, allocations: 160.5 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.016, allocations: 0 / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/1.016, allocations: 6.688 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.016, allocations: 0.7031 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/1.016, allocations: 4 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.016, allocations: 2.375 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.016, allocations: 0 / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/1.016, allocations: 153 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/1.016, allocations: 79.12 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/1.016, allocations: 5.656 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/1.017, allocations: 2.391 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/1.017, allocations: 5.75 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/1.017, allocations: 2.016 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.849e-05/1.017, allocations: 86.2 kB / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.017, allocations: 0 / 1.344 GB, free: 12.45 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002181/1.017, allocations: 9.141 kB / 1.345 GB, free: 12.44 MB / 1.061 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.0002907/1.017, allocations: 0.6849 MB / 1.345 GB, free: 11.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001344/1.017, allocations: 25.45 kB / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/1.017, allocations: 0 / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/1.017, allocations: 9.453 kB / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.017, allocations: 8.281 kB / 1.345 GB, free: 11.76 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/1.018, allocations: 1.225 MB / 1.346 GB, free: 10.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/1.019, allocations: 0.6782 MB / 1.347 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.757e-05/1.019, allocations: 2.172 kB / 1.347 GB, free: 9.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/1.019, allocations: 13.45 kB / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.019, allocations: 0 / 1.347 GB, free: 9.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/1.036, allocations: 1.298 MB / 1.348 GB, free: 9.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.19/9.225, allocations: 13.8 kB / 1.348 GB, free: 9.488 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.882983596995473]