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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 111.3 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 186.7 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.765/2.765, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 71.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9784/0.9805, allocations: 168.7 MB / 1.272 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00256/0.9831, allocations: 1.452 MB / 1.273 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000613/0.9837, allocations: 402.5 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.576e-05/0.9837, allocations: 0 / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.9837, allocations: 5.375 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.063e-05/0.9838, allocations: 4.719 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.9839, allocations: 8.719 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.984, allocations: 24.64 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.9841, allocations: 8.094 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.9842, allocations: 15.22 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.9843, allocations: 5.375 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.9843, allocations: 10.34 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.9843, allocations: 1.531 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.9843, allocations: 10.23 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.9843, allocations: 7.406 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.9844, allocations: 25.78 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9844, allocations: 4.562 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9844, allocations: 0 / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.9844, allocations: 0.7188 kB / 1.273 GB, free: 6.371 MB / 0.9981 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.0003465/0.9848, allocations: 332.5 kB / 1.274 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9848, allocations: 13.88 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.684e-05/0.9848, allocations: 36.09 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.9849, allocations: 2.562 kB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.278e-05/0.9849, allocations: 167.1 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.985, allocations: 1.719 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.985, allocations: 1.938 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.9851, allocations: 46 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9851, allocations: 0.5938 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.9851, allocations: 0 / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.9851, allocations: 0.7188 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.9852, allocations: 27.27 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.9855, allocations: 247.4 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.9855, allocations: 29.84 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.9856, allocations: 18.86 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.9856, allocations: 0 / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.9856, allocations: 44.75 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.9856, allocations: 0 / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002316/0.9858, allocations: 56.06 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.928e-05/0.9859, allocations: 52.19 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.9859, allocations: 104.5 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.9859, allocations: 25.7 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.986, allocations: 90.69 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.986, allocations: 13.55 kB / 1.275 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.986, allocations: 13.92 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.986, allocations: 325.2 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.199e-05/0.9861, allocations: 6.422 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.24e-05/0.9861, allocations: 11.22 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.425e-05/0.9862, allocations: 32.58 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9862, allocations: 0 / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001081/0.9863, allocations: 54.95 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.9863, allocations: 7.906 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.9863, allocations: 0.8438 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9863, allocations: 0 / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.9864, allocations: 5.484 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.9864, allocations: 0.9062 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.9864, allocations: 3.141 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.9865, allocations: 4.812 kB / 1.275 GB, free: 4.617 MB / 0.9981 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.102e-05/0.9865, allocations: 112.2 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.9865, allocations: 2.359 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.9865, allocations: 8.938 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.9866, allocations: 4.859 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9866, allocations: 3.938 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.9866, allocations: 1.547 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.9867, allocations: 161.3 kB / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9867, allocations: 0 / 1.275 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.9867, allocations: 10.73 kB / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9867, allocations: 0.9688 kB / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.9867, allocations: 0 / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9867, allocations: 0.8438 kB / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9867, allocations: 0 / 1.275 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.9868, allocations: 153.6 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.9869, allocations: 78.2 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.9869, allocations: 6.094 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.9869, allocations: 3.75 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.987, allocations: 5.062 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.987, allocations: 1.156 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.44e-05/0.987, allocations: 86.66 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.987, allocations: 0 / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002082/0.9872, allocations: 7.5 kB / 1.276 GB, free: 3.953 MB / 0.9981 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.0002923/0.9875, allocations: 0.6841 MB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.9876, allocations: 24.2 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9876, allocations: 0.8125 kB / 1.276 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/0.9877, allocations: 18.91 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.9879, allocations: 1.562 kB / 1.276 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.9883, allocations: 167.6 kB / 1.277 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.9884, allocations: 0.679 MB / 1.277 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.297e-05/0.9884, allocations: 0.875 kB / 1.277 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.9884, allocations: 8.25 kB / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.9884, allocations: 0 / 1.277 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/1.01, allocations: 1.18 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.806, allocations: 8.469 kB / 1.278 GB, free: 18.04 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.030539277009666]