Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001738/0.001738, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002192/0.002192, allocations: 212.7 kB / 22.24 MB, free: 4.855 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.785 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.784/2.784, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] 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.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",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.002108/0.002108, allocations: 67.38 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.319, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004628/0.3236, allocations: 2.716 MB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003432/0.327, allocations: 2.056 MB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.3272, allocations: 3.938 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.3281, allocations: 234.2 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.3283, allocations: 83.22 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3296, allocations: 487.6 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.3302, allocations: 0.5219 MB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3303, allocations: 20.92 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.3306, allocations: 211.4 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.3309, allocations: 211.3 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.331, allocations: 36 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.3314, allocations: 267.6 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3316, allocations: 159.5 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.3318, allocations: 175.2 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008408/0.3326, allocations: 0.7532 MB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3327, allocations: 0 / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3327, allocations: 0 / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.3327, allocations: 7.938 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001426/0.3341, allocations: 0.7838 MB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3341, allocations: 8.031 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.393e-05/0.3342, allocations: 50.67 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.3363, allocations: 228.4 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.337, allocations: 376.6 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.3371, allocations: 139.3 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.3372, allocations: 16.31 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3385, allocations: 0.5269 MB / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3385, allocations: 0 / 1.292 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.3385, allocations: 8 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3386, allocations: 4 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.3407, allocations: 0.7572 MB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.3432, allocations: 1.17 MB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005451/0.3486, allocations: 0.9977 MB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.3497, allocations: 384.6 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.3497, allocations: 8.328 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.3511, allocations: 0.53 MB / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.3511, allocations: 0 / 1.296 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003406/0.3545, allocations: 1.183 MB / 1.297 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3545, allocations: 55.41 kB / 1.297 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.3552, allocations: 0.5213 MB / 1.298 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/0.3553, allocations: 33.7 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.3555, allocations: 196.5 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.442e-05/0.3555, allocations: 71.44 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3557, allocations: 69.64 kB / 1.298 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3559, allocations: 350.8 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3571, allocations: 0.4982 MB / 1.299 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3583, allocations: 0.5592 MB / 1.3 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/0.3604, allocations: 0.7505 MB / 1.3 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3604, allocations: 0 / 1.3 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00266/0.3631, allocations: 1.122 MB / 1.301 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.729e-05/0.3631, allocations: 41.69 kB / 1.301 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3631, allocations: 3.938 kB / 1.301 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3632, allocations: 0 / 1.301 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.3638, allocations: 99.81 kB / 1.302 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3638, allocations: 0 / 1.302 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.3644, allocations: 63.83 kB / 1.302 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.3645, allocations: 15.97 kB / 1.302 GB, free: 8.664 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: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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.0003671/0.3648, allocations: 213.8 kB / 1.302 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.3649, allocations: 47.66 kB / 1.302 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.365, allocations: 59.95 kB / 1.302 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.365, allocations: 3.984 kB / 1.302 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.365, allocations: 4 kB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.365, allocations: 3.938 kB / 1.302 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006661/0.3657, allocations: 0.5237 MB / 1.302 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3657, allocations: 0 / 1.302 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.3663, allocations: 91.89 kB / 1.303 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.3663, allocations: 3.938 kB / 1.303 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.3663, allocations: 7.984 kB / 1.303 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3663, allocations: 7.984 kB / 1.303 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3664, allocations: 0 / 1.303 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.3686, allocations: 0.8422 MB / 1.303 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.3689, allocations: 107.6 kB / 1.303 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.755e-05/0.369, allocations: 15.92 kB / 1.303 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.3695, allocations: 63.92 kB / 1.304 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3696, allocations: 23.95 kB / 1.304 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/0.3697, allocations: 11.98 kB / 1.304 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005325/0.3702, allocations: 387.1 kB / 1.304 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3702, allocations: 4 kB / 1.304 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000452/0.3707, allocations: 103.9 kB / 1.304 GB, free: 6.094 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: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00273/0.3734, allocations: 1.416 MB / 1.305 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.3758, allocations: 0.9631 MB / 1.306 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3758, allocations: 0 / 1.306 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3769, allocations: 411.6 kB / 1.307 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005743/0.3775, allocations: 106.7 kB / 1.307 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.391, allocations: 7.468 MB / 1.314 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3912, allocations: 252.9 kB / 1.314 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005111/0.3917, allocations: 126.9 kB / 1.315 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.392, allocations: 135.4 kB / 1.315 GB, free: 11.06 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/0.392, allocations: 0 / 1.315 GB, free: 11.06 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/0.4366, allocations: 14.67 MB / 1.329 GB, free: 12.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 6.406 kB / 1.329 GB, free: 12.64 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.319842234253883]