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.001332/0.001332, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.00174/0.00174, allocations: 214.5 kB / 22.25 MB, free: 5.082 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.023 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.444/3.444, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",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.002004/0.002004, allocations: 67.61 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002835/0.3419, allocations: 1.471 MB / 1.354 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.3428, allocations: 470.9 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.3428, allocations: 0 / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.3429, allocations: 7.938 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.3429, allocations: 3.938 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3431, allocations: 23.91 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.3432, allocations: 15.94 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3433, allocations: 15.98 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3435, allocations: 19.92 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.3435, allocations: 15.92 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3436, allocations: 4 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.534e-05/0.3436, allocations: 4 kB / 1.355 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.3436, allocations: 4 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.3436, allocations: 11.92 kB / 1.355 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3438, allocations: 32.11 kB / 1.355 GB, free: 6.406 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3438, allocations: 4 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3438, allocations: 0 / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3438, allocations: 3.938 kB / 1.355 GB, free: 6.398 MB / 1.045 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.0004371/0.3442, allocations: 270.2 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3443, allocations: 8.031 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.3443, allocations: 30.75 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.3444, allocations: 12.92 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.3447, allocations: 118.5 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.3447, allocations: 4.375 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3447, allocations: 384 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.3448, allocations: 49.81 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3448, allocations: 0 / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3448, allocations: 4 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3448, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.3449, allocations: 23.92 kB / 1.355 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.3452, allocations: 216 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3453, allocations: 30.61 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.3454, allocations: 24.91 kB / 1.356 GB, free: 5.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.3454, allocations: 3.938 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3455, allocations: 34.56 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.3455, allocations: 0 / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002456/0.3457, allocations: 61.61 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3458, allocations: 51.41 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.3459, allocations: 102 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3459, allocations: 33.7 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3459, allocations: 84.12 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.3459, allocations: 11.89 kB / 1.356 GB, free: 5.078 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.346, allocations: 13.72 kB / 1.356 GB, free: 5.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3461, allocations: 314.8 kB / 1.356 GB, free: 4.742 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.3462, allocations: 15.98 kB / 1.356 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-05/0.3462, allocations: 4 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.525e-05/0.3463, allocations: 32.84 kB / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3463, allocations: 0 / 1.356 GB, free: 4.688 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000116/0.3464, allocations: 57.62 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3464, allocations: 4 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.3464, allocations: 4 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3464, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.3465, allocations: 4 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3465, allocations: 0 / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.3465, allocations: 7.969 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3465, allocations: 3.984 kB / 1.356 GB, free: 4.602 MB / 1.045 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 8.651e-05/0.3466, allocations: 122.4 kB / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.3466, allocations: 0 / 1.357 GB, free: 4.473 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.3467, allocations: 7.625 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3467, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3467, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3467, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.3468, allocations: 136.7 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3468, allocations: 8 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.419e-05/0.3469, allocations: 7.938 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3469, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.3469, allocations: 4 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3469, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3469, allocations: 0 / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3471, allocations: 151.4 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.3471, allocations: 8.031 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3471, allocations: 0 / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.3471, allocations: 7.984 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.3472, allocations: 7.984 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.484e-06/0.3472, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.017e-05/0.3472, allocations: 87.22 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3472, allocations: 0 / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002108/0.3474, allocations: 4 kB / 1.357 GB, free: 3.992 MB / 1.045 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.0004882/0.3479, allocations: 0.6928 MB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.3481, allocations: 19.98 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3481, allocations: 0 / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.247e-05/0.3481, allocations: 20.08 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3483, allocations: 7.938 kB / 1.358 GB, free: 3.227 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3496, allocations: 1.217 MB / 1.359 GB, free: 1.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.35, allocations: 0.6768 MB / 1.36 GB, free: 1.227 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.572e-05/0.35, allocations: 3.906 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.35, allocations: 11.44 kB / 1.36 GB, free: 1.211 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.35, allocations: 4 kB / 1.36 GB, free: 1.207 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.3795, allocations: 1.338 MB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.29, allocations: 10.52 kB / 1.361 GB, free: 0 / 1.045 GB " [Timeout remaining time 289] (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: 18.249944584211335]