Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.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.001255/0.001255, allocations: 106.6 kB / 16.45 MB, free: 6.504 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.001313/0.001313, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 59.91 kB / 1.056 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.761, allocations: 160.7 MB / 1.213 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004999/0.766, allocations: 2.905 MB / 1.216 GB, free: 1.676 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.7697, allocations: 2.236 MB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.7699, allocations: 3.25 kB / 1.218 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000896/0.7708, allocations: 261.3 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.7711, allocations: 80.5 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.7726, allocations: 485.1 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008406/0.7734, allocations: 0.5106 MB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.7736, allocations: 34.3 kB / 1.219 GB, free: 15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004242/0.774, allocations: 205.9 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.7744, allocations: 218.2 kB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.7745, allocations: 36.78 kB / 1.22 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00055/0.7751, allocations: 263.1 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.7753, allocations: 161.1 kB / 1.22 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.7757, allocations: 212.9 kB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.7769, allocations: 0.7542 MB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7769, allocations: 0 / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7769, allocations: 0.7812 kB / 1.221 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.7769, allocations: 0 / 1.221 GB, free: 13.81 MB / 0.9356 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.002038/0.7789, allocations: 0.8542 MB / 1.222 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.779, allocations: 9.969 kB / 1.222 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.971e-05/0.7791, allocations: 52.05 kB / 1.222 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/0.7813, allocations: 230 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.7821, allocations: 435.2 kB / 1.223 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.7823, allocations: 84.22 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.7823, allocations: 13.53 kB / 1.223 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.7837, allocations: 0.5398 MB / 1.223 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7837, allocations: 1.469 kB / 1.223 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.7837, allocations: 4 kB / 1.223 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.7837, allocations: 2.938 kB / 1.223 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.7858, allocations: 0.7603 MB / 1.224 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.7885, allocations: 1.269 MB / 1.225 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005404/0.7939, allocations: 0.9922 MB / 1.226 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.7951, allocations: 389.5 kB / 1.227 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.7951, allocations: 4 kB / 1.227 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.7965, allocations: 0.5262 MB / 1.227 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 2.906e-06/0.7965, allocations: 0 / 1.227 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.003447/0.8, allocations: 1.191 MB / 1.228 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.263e-05/0.8001, allocations: 55.41 kB / 1.228 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.8011, allocations: 0.5175 MB / 1.229 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.8012, allocations: 33.7 kB / 1.229 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.8014, allocations: 204.4 kB / 1.229 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8015, allocations: 71.41 kB / 1.229 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.8017, allocations: 69.66 kB / 1.229 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.8019, allocations: 354.8 kB / 1.229 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.8031, allocations: 468.5 kB / 1.23 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.8043, allocations: 0.4935 MB / 1.23 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.8062, allocations: 0.7541 MB / 1.231 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.8062, allocations: 0 / 1.231 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002456/0.8087, allocations: 1.08 MB / 1.232 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.8087, allocations: 41.69 kB / 1.232 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.8087, allocations: 3.938 kB / 1.232 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.8088, allocations: 0 / 1.232 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.8094, allocations: 95.83 kB / 1.232 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8094, allocations: 0 / 1.232 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.81, allocations: 59.89 kB / 1.232 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.81, allocations: 15.97 kB / 1.232 GB, free: 4.094 MB / 0.9356 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.0003631/0.8104, allocations: 211.6 kB / 1.233 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.8105, allocations: 47.66 kB / 1.233 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.8107, allocations: 59.86 kB / 1.233 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.8107, allocations: 0 / 1.233 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.8107, allocations: 0 / 1.233 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.8107, allocations: 15.92 kB / 1.233 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.8115, allocations: 0.6376 MB / 1.233 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8115, allocations: 0 / 1.233 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.812, allocations: 87.89 kB / 1.233 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.812, allocations: 7.875 kB / 1.233 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.8121, allocations: 11.98 kB / 1.233 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.8121, allocations: 0 / 1.233 GB, free: 2.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8121, allocations: 4 kB / 1.233 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.8142, allocations: 0.8361 MB / 1.234 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.8145, allocations: 192.7 kB / 1.234 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.829e-05/0.8146, allocations: 11.94 kB / 1.234 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.8152, allocations: 67.91 kB / 1.235 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.8153, allocations: 23.97 kB / 1.235 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.8153, allocations: 11.98 kB / 1.235 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004873/0.8158, allocations: 387.1 kB / 1.235 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8158, allocations: 4 kB / 1.235 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004647/0.8163, allocations: 103.9 kB / 1.235 GB, free: 1.305 MB / 0.9356 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.002724/0.819, allocations: 1.419 MB / 1.236 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.8213, allocations: 0.9245 MB / 1.237 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8213, allocations: 0 / 1.237 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.8223, allocations: 417.6 kB / 1.238 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.8228, allocations: 89.78 kB / 1.238 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.8357, allocations: 7.321 MB / 1.245 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.8362, allocations: 0.8464 MB / 1.246 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005055/0.8368, allocations: 134.9 kB / 1.246 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002756/0.837, allocations: 135.4 kB / 1.246 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of SimCode: time 1.343e-06/0.837, allocations: 0 / 1.246 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.8787, allocations: 13.35 MB / 1.259 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.589/9.468, allocations: 19.34 kB / 1.259 GB, free: 8.777 MB / 0.9669 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.965566845145077]