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.001801/0.001801, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002477/0.002477, allocations: 216.8 kB / 22.25 MB, free: 5.121 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.965 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.228/3.228, allocations: 0.505 GB / 0.8101 GB, free: 22 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.001961/0.001961, allocations: 67.88 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.364, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00264/0.3667, allocations: 1.463 MB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.3676, allocations: 474.8 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.3676, allocations: 0 / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.3676, allocations: 3.938 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-05/0.3677, allocations: 0 / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3679, allocations: 23.89 kB / 1.355 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3681, allocations: 31.88 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3682, allocations: 15.98 kB / 1.355 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3683, allocations: 11.94 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.3683, allocations: 11.92 kB / 1.355 GB, free: 6.379 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.095e-05/0.3684, allocations: 4 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.3684, allocations: 7.984 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3684, allocations: 4 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3684, allocations: 15.92 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3686, allocations: 24.14 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3686, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3686, allocations: 3.938 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3686, allocations: 4 kB / 1.355 GB, free: 6.316 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.0004268/0.369, allocations: 266.2 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.369, allocations: 12.03 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.3691, allocations: 30.75 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.3692, allocations: 12.92 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3694, allocations: 126.5 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.3694, allocations: 384 / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.3694, allocations: 4.312 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.3696, allocations: 49.81 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3696, allocations: 0 / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3696, allocations: 0 / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3696, allocations: 3.938 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.591e-05/0.3697, allocations: 19.98 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.37, allocations: 220 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.3701, allocations: 38.5 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.3702, allocations: 16.92 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3702, allocations: 3.984 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3702, allocations: 30.56 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.3702, allocations: 0 / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002633/0.3705, allocations: 57.78 kB / 1.356 GB, free: 5.305 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.3705, allocations: 51.41 kB / 1.356 GB, free: 5.242 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3706, allocations: 113.8 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3707, allocations: 25.7 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.596e-05/0.3707, allocations: 92.12 kB / 1.356 GB, free: 4.996 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3708, allocations: 7.891 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3708, allocations: 17.72 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.371, allocations: 314.8 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.818e-05/0.371, allocations: 12.02 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.3711, allocations: 12 kB / 1.356 GB, free: 4.625 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.845e-05/0.3711, allocations: 20.84 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3711, allocations: 4 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.3713, allocations: 49.64 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3713, allocations: 11.98 kB / 1.356 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3713, allocations: 4.031 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3713, allocations: 7.938 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3714, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3714, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.3714, allocations: 4 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3714, allocations: 0 / 1.356 GB, free: 4.512 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 0.0001/0.3715, allocations: 121.7 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3716, allocations: 4 kB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.3716, allocations: 3.625 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3716, allocations: 4 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3716, allocations: 0 / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3716, allocations: 0 / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3718, allocations: 136.7 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3718, allocations: 0 / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-05/0.3718, allocations: 7.984 kB / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3718, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3718, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3718, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3718, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.372, allocations: 167.4 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.372, allocations: 3.938 kB / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.372, allocations: 0 / 1.357 GB, free: 4.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.998e-05/0.3721, allocations: 4 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3721, allocations: 0 / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.3721, allocations: 3.984 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.174e-05/0.3722, allocations: 83.28 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3722, allocations: 8.031 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002099/0.3724, allocations: 0 / 1.357 GB, free: 3.906 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.0005262/0.3729, allocations: 0.6851 MB / 1.358 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3731, allocations: 31.95 kB / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3731, allocations: 0 / 1.358 GB, free: 3.164 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.377e-05/0.3731, allocations: 11.98 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.3733, allocations: 5.312 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3746, allocations: 1.22 MB / 1.359 GB, free: 1.848 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3749, allocations: 0.6768 MB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.375, allocations: 15.92 kB / 1.36 GB, free: 1.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.375, allocations: 7.438 kB / 1.36 GB, free: 1.121 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.375, allocations: 3.938 kB / 1.36 GB, free: 1.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.4031, allocations: 1.34 MB / 1.361 GB, free: 15.91 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.91, allocations: 11.16 kB / 1.361 GB, free: 15.91 MB / 1.061 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable kMinU.u in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv. Warning: Get data of variable kMinU.u from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.804869106000297]