Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001128/0.001128, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008534/0.0008534, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8755/0.8755, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.721/1.721, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.118e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002997/0.003018, allocations: 2.713 MB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.005367, allocations: 2.079 MB / 0.9857 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.005478, allocations: 4 kB / 0.9857 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.006067, allocations: 238.5 kB / 0.9859 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.00618, allocations: 83.17 kB / 0.986 GB, free: 13.42 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.007021, allocations: 498.8 kB / 0.9865 GB, free: 12.94 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.00745, allocations: 0.5179 MB / 0.987 GB, free: 12.42 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.007559, allocations: 28.92 kB / 0.987 GB, free: 12.39 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.007777, allocations: 263.6 kB / 0.9872 GB, free: 12.14 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.007978, allocations: 187.6 kB / 0.9874 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.008024, allocations: 36 kB / 0.9875 GB, free: 11.92 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.008332, allocations: 279.4 kB / 0.9877 GB, free: 11.64 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.008462, allocations: 159.5 kB / 0.9879 GB, free: 11.49 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.008566, allocations: 139.7 kB / 0.988 GB, free: 11.35 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.009202, allocations: 0.8024 MB / 0.9888 GB, free: 10.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.009208, allocations: 8 kB / 0.9888 GB, free: 10.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/0.00921, allocations: 0 / 0.9888 GB, free: 10.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.009215, allocations: 3.938 kB / 0.9888 GB, free: 10.54 MB / 0.948 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.00095/0.01017, allocations: 0.7644 MB / 0.9895 GB, free: 9.727 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01021, allocations: 8.031 kB / 0.9896 GB, free: 9.719 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.01025, allocations: 46.73 kB / 0.9896 GB, free: 9.664 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.01125, allocations: 236.4 kB / 0.9898 GB, free: 9.434 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.01165, allocations: 371.8 kB / 0.9902 GB, free: 9.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.01175, allocations: 131.3 kB / 0.9903 GB, free: 8.895 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.01179, allocations: 16.38 kB / 0.9903 GB, free: 8.879 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007198/0.01251, allocations: 0.5172 MB / 0.9908 GB, free: 8.355 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.01252, allocations: 4.188 kB / 0.9908 GB, free: 8.352 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.01255, allocations: 7.938 kB / 0.9908 GB, free: 8.344 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.01256, allocations: 4 kB / 0.9908 GB, free: 8.34 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.01373, allocations: 0.7533 MB / 0.9916 GB, free: 7.586 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.0151, allocations: 1.147 MB / 0.9927 GB, free: 6.395 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002431/0.01753, allocations: 0.9937 MB / 0.9937 GB, free: 5.391 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005173/0.01805, allocations: 395.2 kB / 0.994 GB, free: 5.004 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.01807, allocations: 0 / 0.994 GB, free: 5.004 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006872/0.01876, allocations: 0.5029 MB / 0.9945 GB, free: 4.488 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 2.604e-06/0.01876, allocations: 3.938 kB / 0.9945 GB, free: 4.484 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.001791/0.02055, allocations: 1.19 MB / 0.9957 GB, free: 3.289 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.02059, allocations: 51.41 kB / 0.9958 GB, free: 3.227 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004095/0.021, allocations: 0.5175 MB / 0.9963 GB, free: 2.695 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.02105, allocations: 33.7 kB / 0.9963 GB, free: 2.656 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.02117, allocations: 200.5 kB / 0.9965 GB, free: 2.457 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.02123, allocations: 71.36 kB / 0.9965 GB, free: 2.387 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.02133, allocations: 65.66 kB / 0.9966 GB, free: 2.316 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.02144, allocations: 362.8 kB / 0.997 GB, free: 1.953 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.02202, allocations: 477.4 kB / 0.9974 GB, free: 1.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006051/0.02262, allocations: 0.55 MB / 0.9979 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.02369, allocations: 0.7625 MB / 0.9987 GB, free: 148 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.02369, allocations: 0 / 0.9987 GB, free: 148 kB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001474/0.02516, allocations: 1.105 MB / 0.9998 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.02522, allocations: 45.69 kB / 0.9998 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.02522, allocations: 4 kB / 0.9998 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.02524, allocations: 3.984 kB / 0.9998 GB, free: 14.96 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.02553, allocations: 87.83 kB / 0.9999 GB, free: 14.87 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.02554, allocations: 7.938 kB / 0.9999 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.02577, allocations: 59.89 kB / 1 GB, free: 14.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.02581, allocations: 19.92 kB / 1 GB, free: 14.79 MB / 0.9636 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0002156/0.02602, allocations: 219.9 kB / 1 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.02608, allocations: 43.72 kB / 1 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.02613, allocations: 48.02 kB / 1 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.02613, allocations: 4 kB / 1 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.02614, allocations: 3.938 kB / 1 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.02614, allocations: 3.984 kB / 1 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.02656, allocations: 0.5198 MB / 1.001 GB, free: 13.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.02656, allocations: 3.938 kB / 1.001 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.02681, allocations: 87.89 kB / 1.001 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.02681, allocations: 4 kB / 1.001 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.02684, allocations: 11.98 kB / 1.001 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02684, allocations: 0 / 1.001 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.02684, allocations: 3.938 kB / 1.001 GB, free: 13.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.02799, allocations: 0.8377 MB / 1.002 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/0.02815, allocations: 115.6 kB / 1.002 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.02819, allocations: 4 kB / 1.002 GB, free: 12.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.02843, allocations: 63.92 kB / 1.002 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.02851, allocations: 31.89 kB / 1.002 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.02853, allocations: 11.98 kB / 1.002 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002907/0.02882, allocations: 391.1 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.02882, allocations: 0 / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003012/0.02912, allocations: 103.9 kB / 1.002 GB, free: 12.24 MB / 0.9636 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.001482/0.0306, allocations: 1.418 MB / 1.004 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.03186, allocations: 0.9515 MB / 1.005 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.03187, allocations: 3.938 kB / 1.005 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.03275, allocations: 403.6 kB / 1.005 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.03311, allocations: 108.7 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007961/0.04107, allocations: 7.457 MB / 1.013 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.04124, allocations: 252.9 kB / 1.013 GB, free: 1.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000307/0.04155, allocations: 126.9 kB / 1.013 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.04174, allocations: 140.4 kB / 1.013 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of SimCode: time 9.61e-07/0.04174, allocations: 0 / 1.013 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.07041, allocations: 14.63 MB / 1.027 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.164, allocations: 8.062 kB / 1.027 GB, free: 2.871 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.225930631160736]