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.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.0008395/0.0008395, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0009527/0.0009527, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_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 1.443e-06/1.443e-06, allocations: 0 / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.127e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.00215/0.002172, allocations: 1.455 MB / 0.9519 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.002747, allocations: 439.4 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.002797, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.002822, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.002866, allocations: 7.875 kB / 0.9523 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003077, allocations: 15.97 kB / 0.9524 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.003171, allocations: 31.92 kB / 0.9524 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.003264, allocations: 11.92 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.003384, allocations: 31.84 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.003424, allocations: 4 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.003437, allocations: 0 / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-05/0.003474, allocations: 4 kB / 0.9524 GB, free: 1.527 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.003486, allocations: 11.98 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.003505, allocations: 3.938 kB / 0.9524 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.511e-05/0.0036, allocations: 27.95 kB / 0.9525 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.003602, allocations: 0 / 0.9525 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.262e-06/0.003604, allocations: 4 kB / 0.9525 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003608, allocations: 7.938 kB / 0.9525 GB, free: 1.473 MB / 0.9011 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.0003526/0.00396, allocations: 262.2 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.004011, allocations: 12.02 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.004042, allocations: 30.75 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.004156, allocations: 8.938 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.004347, allocations: 117.7 kB / 0.9529 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.004357, allocations: 12.31 kB / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.004367, allocations: 384 / 0.9529 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.004485, allocations: 46.25 kB / 0.953 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.004495, allocations: 4.188 kB / 0.953 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.004506, allocations: 8.062 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.004513, allocations: 3.984 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.218e-05/0.004575, allocations: 15.98 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.004861, allocations: 212.1 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.74e-05/0.004928, allocations: 34.5 kB / 0.9532 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.004967, allocations: 20.86 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.004982, allocations: 8 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.005005, allocations: 34.55 kB / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.005006, allocations: 0 / 0.9533 GB, free: 0.5273 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.005188, allocations: 57.69 kB / 0.9533 GB, free: 476 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.005223, allocations: 55.34 kB / 0.9534 GB, free: 408 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.005285, allocations: 105.8 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005296, allocations: 25.7 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.005335, allocations: 92.09 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.005351, allocations: 7.938 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.005376, allocations: 17.84 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.005463, allocations: 314.8 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.005488, allocations: 7.984 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.005506, allocations: 8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.005551, allocations: 24.84 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005552, allocations: 0 / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.005e-05/0.005622, allocations: 53.62 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005634, allocations: 8.031 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.005638, allocations: 4 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.00565, allocations: 3.984 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.005704, allocations: 4 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.00571, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.005729, allocations: 12 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.005733, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 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 5.778e-05/0.005791, allocations: 109.8 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.005807, allocations: 7.922 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.005828, allocations: 7.625 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.00583, allocations: 11.94 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.005834, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.005836, allocations: 0 / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.005943, allocations: 124.8 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005945, allocations: 7.875 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.005964, allocations: 4 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.005965, allocations: 4 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.005971, allocations: 0 / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005972, allocations: 0 / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.005974, allocations: 3.984 kB / 0.9543 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.006077, allocations: 151.4 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.006085, allocations: 7.938 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.006095, allocations: 0 / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.006124, allocations: 0 / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.006156, allocations: 7.984 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.006159, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.00619, allocations: 83.59 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00619, allocations: 0 / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001506/0.006341, allocations: 4 kB / 0.9546 GB, free: 15.08 MB / 0.9167 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.0002765/0.006617, allocations: 0.689 MB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.006709, allocations: 23.92 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.006711, allocations: 0 / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.006733, allocations: 11.98 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.006897, allocations: 6.344 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.007692, allocations: 1.226 MB / 0.9565 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.454e-05/0.007737, allocations: 67.28 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.007758, allocations: 0 / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.007799, allocations: 16.5 kB / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.0078, allocations: 0 / 0.9565 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02173, allocations: 1.872 MB / 0.9584 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.048, allocations: 9.734 kB / 0.9584 GB, free: 11.18 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv. Warning: Get data of variable kMinU.u from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.025800546631217]