Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001836/0.001836, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002277/0.002277, allocations: 215 kB / 20.13 MB, free: 2.949 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.7 MB / 0.7678 GB, free: 9.492 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="cs",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.002997/0.002997, allocations: 71.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8442/0.8472, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003142/0.8503, allocations: 1.789 MB / 1.281 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00017/0.8505, allocations: 78.89 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.533e-05/0.8506, allocations: 1.5 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.8506, allocations: 10.78 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/0.8507, allocations: 19.72 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.8508, allocations: 33.38 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.8509, allocations: 105.7 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.8511, allocations: 44.23 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.145e-05/0.8512, allocations: 44.94 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.277e-05/0.8512, allocations: 51.73 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.8513, allocations: 10.59 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.8513, allocations: 14.66 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.8513, allocations: 23.81 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.8514, allocations: 45.91 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.8515, allocations: 120.8 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8515, allocations: 4.797 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8515, allocations: 0 / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8515, allocations: 0 / 1.281 GB, free: 10.16 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007195/0.8523, allocations: 428.3 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8523, allocations: 9.531 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.8523, allocations: 2.375 kB / 1.282 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.183e-05/0.8524, allocations: 44.02 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.8524, allocations: 14.59 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.8526, allocations: 198.7 kB / 1.282 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.8526, allocations: 7.688 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.8527, allocations: 6.125 kB / 1.282 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.8531, allocations: 137.1 kB / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.8531, allocations: 0 / 1.282 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.8531, allocations: 9.891 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.8531, allocations: 2.031 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000558/0.8537, allocations: 117.7 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.8542, allocations: 391.4 kB / 1.283 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.8546, allocations: 82.48 kB / 1.283 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.8549, allocations: 61.14 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.8549, allocations: 1.625 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8549, allocations: 31.08 kB / 1.283 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 3.487e-06/0.8549, allocations: 5.359 kB / 1.283 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0008131/0.8557, allocations: 201 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.8558, allocations: 52.59 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.8559, allocations: 127.4 kB / 1.283 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8559, allocations: 25.7 kB / 1.283 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.856, allocations: 113.4 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.856, allocations: 27.86 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.8561, allocations: 15.11 kB / 1.283 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8562, allocations: 322.4 kB / 1.284 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.8564, allocations: 50.95 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.8567, allocations: 51.22 kB / 1.284 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004502/0.8571, allocations: 108.1 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8571, allocations: 0 / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005076/0.8576, allocations: 147.6 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.8576, allocations: 5.812 kB / 1.284 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8576, allocations: 3.938 kB / 1.284 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8576, allocations: 5.25 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.8578, allocations: 25.38 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8578, allocations: 1.344 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.8579, allocations: 18.12 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.858, allocations: 5.125 kB / 1.284 GB, free: 8.102 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 (6): * Single equations (assignments): 6 * 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 9.421e-05/0.858, allocations: 119.7 kB / 1.284 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.8581, allocations: 6.516 kB / 1.284 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.8581, allocations: 16.02 kB / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8581, allocations: 0 / 1.284 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8581, allocations: 5.438 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8581, allocations: 0.5156 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.8584, allocations: 196 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8584, allocations: 1.156 kB / 1.284 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.8585, allocations: 33.36 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8585, allocations: 0.75 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.8585, allocations: 8.688 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8585, allocations: 0.7188 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8585, allocations: 0.6562 kB / 1.284 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005783/0.8591, allocations: 240.6 kB / 1.285 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.8592, allocations: 84.38 kB / 1.285 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.8592, allocations: 3.938 kB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.8593, allocations: 16.91 kB / 1.285 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.8594, allocations: 10.36 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.8594, allocations: 1.281 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.645e-05/0.8595, allocations: 106.4 kB / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8595, allocations: 0 / 1.285 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000245/0.8597, allocations: 25.92 kB / 1.285 GB, free: 7.379 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 (6): * Single equations (assignments): 6 * 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.0009082/0.8606, allocations: 0.7744 MB / 1.286 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.8612, allocations: 107 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8612, allocations: 9.281 kB / 1.286 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.8614, allocations: 55.78 kB / 1.286 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.8617, allocations: 11.2 kB / 1.286 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.8642, allocations: 1.598 MB / 1.287 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8646, allocations: 0.7043 MB / 1.288 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.411e-05/0.8646, allocations: 3.562 kB / 1.288 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.8647, allocations: 33.58 kB / 1.288 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.8647, allocations: 0 / 1.288 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.8841, allocations: 2.302 MB / 1.29 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.794/9.678, allocations: 20.44 kB / 1.29 GB, free: 4.188 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.998097512987442]