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.0007893/0.0007893, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008318/0.0008318, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9429/0.9429, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.71/1.71, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.47e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003028/0.003053, allocations: 2.708 MB / 0.9532 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.005276, allocations: 2.086 MB / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.00538, allocations: 0 / 0.9552 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005938/0.005974, allocations: 242.5 kB / 0.9554 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.006097, allocations: 91.14 kB / 0.9555 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.006894, allocations: 491.9 kB / 0.956 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.007351, allocations: 0.5213 MB / 0.9565 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.007464, allocations: 32.91 kB / 0.9565 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.007689, allocations: 259.5 kB / 0.9568 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.007882, allocations: 191.6 kB / 0.957 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.782e-05/0.00793, allocations: 36 kB / 0.957 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.008272, allocations: 267.5 kB / 0.9573 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.008403, allocations: 163.5 kB / 0.9574 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.008513, allocations: 139.6 kB / 0.9575 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006308/0.009144, allocations: 0.8102 MB / 0.9583 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009148, allocations: 4 kB / 0.9583 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.893e-06/0.009149, allocations: 0 / 0.9583 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.009156, allocations: 0 / 0.9583 GB, free: 11.45 MB / 0.9167 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.0009182/0.01007, allocations: 0.7605 MB / 0.9591 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.01012, allocations: 12.03 kB / 0.9591 GB, free: 10.63 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.01016, allocations: 50.69 kB / 0.9591 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.01113, allocations: 232.4 kB / 0.9594 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.01152, allocations: 367.8 kB / 0.9597 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.01164, allocations: 139.3 kB / 0.9598 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.01167, allocations: 16.38 kB / 0.9599 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.01239, allocations: 0.5073 MB / 0.9604 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.0124, allocations: 192 / 0.9604 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.01243, allocations: 11.94 kB / 0.9604 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.01244, allocations: 0 / 0.9604 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.01368, allocations: 0.765 MB / 0.9611 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01521, allocations: 1.131 MB / 0.9622 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.01759, allocations: 1.002 MB / 0.9632 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.0181, allocations: 380.6 kB / 0.9636 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.01812, allocations: 4 kB / 0.9636 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/0.0188, allocations: 0.5125 MB / 0.9641 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 3.065e-06/0.01881, allocations: 0 / 0.9641 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.001763/0.02057, allocations: 1.187 MB / 0.9652 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.02061, allocations: 55.41 kB / 0.9653 GB, free: 4.145 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.02108, allocations: 0.5214 MB / 0.9658 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.02114, allocations: 37.69 kB / 0.9658 GB, free: 3.574 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.02128, allocations: 200.5 kB / 0.966 GB, free: 3.375 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.02134, allocations: 67.38 kB / 0.9661 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.02145, allocations: 65.67 kB / 0.9661 GB, free: 3.234 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.02157, allocations: 354.8 kB / 0.9665 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.02219, allocations: 485.4 kB / 0.9669 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.02282, allocations: 0.5515 MB / 0.9675 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.02381, allocations: 0.7582 MB / 0.9682 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.02381, allocations: 0 / 0.9682 GB, free: 1.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001386/0.0252, allocations: 1.112 MB / 0.9693 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.02525, allocations: 41.69 kB / 0.9693 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02526, allocations: 0 / 0.9693 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.02528, allocations: 3.938 kB / 0.9694 GB, free: 15.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.02557, allocations: 95.83 kB / 0.9694 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.02558, allocations: 3.938 kB / 0.9694 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.02582, allocations: 59.89 kB / 0.9695 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.02588, allocations: 15.97 kB / 0.9695 GB, free: 15.71 MB / 0.9323 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.0002723/0.02615, allocations: 215.8 kB / 0.9697 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.99e-05/0.02621, allocations: 43.72 kB / 0.9698 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.02627, allocations: 56 kB / 0.9698 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.02627, allocations: 0 / 0.9698 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.02628, allocations: 11.94 kB / 0.9698 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.02628, allocations: 0 / 0.9698 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.02673, allocations: 0.5274 MB / 0.9703 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.02673, allocations: 0 / 0.9703 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.02699, allocations: 95.83 kB / 0.9704 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.027, allocations: 0 / 0.9704 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.02702, allocations: 7.984 kB / 0.9704 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.02702, allocations: 4 kB / 0.9705 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.02703, allocations: 3.938 kB / 0.9705 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.02813, allocations: 0.8283 MB / 0.9713 GB, free: 13.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.0283, allocations: 123.5 kB / 0.9714 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.02834, allocations: 8 kB / 0.9714 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.02857, allocations: 59.92 kB / 0.9714 GB, free: 13.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.02865, allocations: 27.89 kB / 0.9715 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.02867, allocations: 15.98 kB / 0.9715 GB, free: 13.62 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002951/0.02897, allocations: 391 kB / 0.9719 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.02897, allocations: 0 / 0.9719 GB, free: 13.25 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003045/0.02927, allocations: 103.9 kB / 0.972 GB, free: 13.14 MB / 0.9323 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.001544/0.03082, allocations: 1.418 MB / 0.9733 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.03205, allocations: 0.9595 MB / 0.9743 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.03205, allocations: 0 / 0.9743 GB, free: 10.72 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.03259, allocations: 411.6 kB / 0.9747 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.03293, allocations: 100.4 kB / 0.9748 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008399/0.04133, allocations: 7.461 MB / 0.9821 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.0415, allocations: 245 kB / 0.9823 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003272/0.04182, allocations: 130.9 kB / 0.9824 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.04202, allocations: 136.4 kB / 0.9825 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of SimCode: time 1.613e-06/0.04202, allocations: 4 kB / 0.9825 GB, free: 2.117 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.07202, allocations: 14.62 MB / 0.9968 GB, free: 3.777 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.196/7.268, allocations: 3.938 kB / 0.9968 GB, free: 3.773 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.48915574233979]