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.001385/0.001385, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001382/0.001382, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.227 MB / 190.1 MB " [Timeout remaining time 179] 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.466/2.466, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.001693/0.001693, allocations: 63.91 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7353, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001922/0.7373, allocations: 1.46 MB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000464/0.7377, allocations: 393 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.7378, allocations: 0 / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.7378, allocations: 4.656 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.7378, allocations: 9.156 kB / 1.273 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.7379, allocations: 8.578 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.777e-05/0.738, allocations: 29.02 kB / 1.273 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.232e-05/0.738, allocations: 7.812 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.7381, allocations: 14.98 kB / 1.273 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.7382, allocations: 10.62 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.7382, allocations: 5.703 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.7382, allocations: 1.562 kB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.7382, allocations: 5.234 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.7382, allocations: 11.45 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.349e-05/0.7383, allocations: 22.56 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.7383, allocations: 0.8125 kB / 1.273 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7383, allocations: 4 kB / 1.273 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.7383, allocations: 3.938 kB / 1.273 GB, free: 6.383 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.0002652/0.7386, allocations: 337 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.7386, allocations: 9.938 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.898e-05/0.7386, allocations: 31.41 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.69e-05/0.7386, allocations: 2.75 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.661e-05/0.7387, allocations: 171.3 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.7387, allocations: 2.031 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.7387, allocations: 1.703 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.7388, allocations: 50 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.7388, allocations: 0 / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-06/0.7388, allocations: 0.6875 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7388, allocations: 0.875 kB / 1.274 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.7389, allocations: 23.45 kB / 1.274 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.7391, allocations: 247.4 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.802e-05/0.7392, allocations: 33.05 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.493e-05/0.7392, allocations: 19 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.7392, allocations: 5.062 kB / 1.274 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.7392, allocations: 31.5 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.7392, allocations: 0 / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.7394, allocations: 68.53 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.455e-05/0.7394, allocations: 52.73 kB / 1.274 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.7395, allocations: 103.5 kB / 1.274 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.7395, allocations: 26.61 kB / 1.274 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.995e-05/0.7395, allocations: 86.25 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.7395, allocations: 10.42 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.7395, allocations: 16.27 kB / 1.275 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.7396, allocations: 317.3 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.7396, allocations: 14.91 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.7396, allocations: 7.562 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.41e-05/0.7397, allocations: 24.98 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7397, allocations: 3.938 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.156e-05/0.7398, allocations: 61.59 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.7398, allocations: 6.266 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.105e-06/0.7398, allocations: 96 / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.7398, allocations: 5.031 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.049e-05/0.7399, allocations: 6.203 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.7399, allocations: 0 / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.7399, allocations: 2.828 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.7399, allocations: 1.641 kB / 1.275 GB, free: 4.625 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 3.444e-05/0.74, allocations: 115.9 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.19e-05/0.74, allocations: 1.562 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.74, allocations: 5.172 kB / 1.275 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.74, allocations: 5.531 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.74, allocations: 0 / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.74, allocations: 0.9062 kB / 1.275 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.324e-05/0.7401, allocations: 162.2 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.7401, allocations: 0 / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.7401, allocations: 4.594 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7401, allocations: 4.844 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.7401, allocations: 5.312 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7401, allocations: 0.9062 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.7401, allocations: 0 / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.7402, allocations: 157.3 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.7403, allocations: 79.38 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.7403, allocations: 2.562 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.449e-05/0.7403, allocations: 1.562 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.7403, allocations: 2.625 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.7403, allocations: 1.062 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.085e-05/0.7404, allocations: 85.61 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7404, allocations: 4.906 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001928/0.7406, allocations: 3.156 kB / 1.276 GB, free: 3.965 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.0002312/0.7408, allocations: 0.6841 MB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.7409, allocations: 24.75 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.7409, allocations: 0 / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.625e-05/0.7409, allocations: 10.17 kB / 1.276 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.7411, allocations: 4.781 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.7414, allocations: 157 kB / 1.276 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.34e-05/0.7415, allocations: 0.68 MB / 1.277 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.013e-05/0.7415, allocations: 8.094 kB / 1.277 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/0.7415, allocations: 12.56 kB / 1.277 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of SimCode: time 2.7e-07/0.7415, allocations: 3.938 kB / 1.277 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.7664, allocations: 1.18 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.695, allocations: 5.391 kB / 1.278 GB, free: 18.04 MB / 1.014 GB " [Timeout remaining time 292] (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/jenkins1/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: 12.988037952993182]