Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.001328/0.001328, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00144/0.00144, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.793 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.78/2.78, allocations: 476 MB / 0.7699 GB, free: 4.746 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.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",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.00242/0.00242, allocations: 69.16 kB / 1.117 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3765, allocations: 169.9 MB / 1.283 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004069/0.3805, allocations: 2.074 MB / 1.285 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3838, allocations: 1.741 MB / 1.286 GB, free: 424 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.3841, allocations: 3.938 kB / 1.286 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.3849, allocations: 195.1 kB / 1.286 GB, free: 224 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.3851, allocations: 63.42 kB / 1.287 GB, free: 160 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.3865, allocations: 437.5 kB / 1.287 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000681/0.3871, allocations: 406.8 kB / 1.287 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3873, allocations: 24.56 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003117/0.3876, allocations: 159.5 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.3879, allocations: 151.4 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.388, allocations: 32 kB / 1.288 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005736/0.3886, allocations: 259.6 kB / 1.288 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001903/0.3888, allocations: 119.6 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.389, allocations: 131.4 kB / 1.288 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.3899, allocations: 0.5995 MB / 1.289 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3899, allocations: 4 kB / 1.289 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3899, allocations: 0 / 1.289 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.3899, allocations: 0 / 1.289 GB, free: 13.87 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001543/0.3915, allocations: 0.6461 MB / 1.289 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3915, allocations: 8.031 kB / 1.289 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.453e-05/0.3916, allocations: 38.75 kB / 1.289 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.3934, allocations: 164.5 kB / 1.29 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.394, allocations: 316.8 kB / 1.29 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.3942, allocations: 127.3 kB / 1.29 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.3942, allocations: 12.38 kB / 1.29 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.3954, allocations: 445.1 kB / 1.29 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3954, allocations: 0 / 1.29 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3954, allocations: 7.984 kB / 1.29 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3954, allocations: 0 / 1.29 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3972, allocations: 0.5816 MB / 1.291 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.3993, allocations: 0.9557 MB / 1.292 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004955/0.4043, allocations: 0.8377 MB / 1.293 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008098/0.4051, allocations: 308.6 kB / 1.293 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.4051, allocations: 4 kB / 1.293 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.4062, allocations: 439 kB / 1.293 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 3.196e-06/0.4062, allocations: 0 / 1.293 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002717/0.4089, allocations: 0.9252 MB / 1.294 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.409, allocations: 59.41 kB / 1.294 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006459/0.4097, allocations: 429.6 kB / 1.295 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/0.4097, allocations: 33.7 kB / 1.295 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.4099, allocations: 176 kB / 1.295 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.41, allocations: 51.64 kB / 1.295 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4101, allocations: 49.67 kB / 1.295 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4103, allocations: 350.8 kB / 1.295 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009487/0.4113, allocations: 418.3 kB / 1.296 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.4122, allocations: 407.9 kB / 1.296 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.4138, allocations: 0.6075 MB / 1.297 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4138, allocations: 0 / 1.297 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002143/0.4159, allocations: 0.9442 MB / 1.298 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.416, allocations: 37.69 kB / 1.298 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.416, allocations: 0 / 1.298 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.416, allocations: 0 / 1.298 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.4165, allocations: 67.86 kB / 1.298 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.4165, allocations: 0 / 1.298 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.4169, allocations: 51.78 kB / 1.298 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.417, allocations: 15.98 kB / 1.298 GB, free: 4.172 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 (17): * Single equations (assignments): 16 * 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.0002797/0.4173, allocations: 185.8 kB / 1.298 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.4174, allocations: 35.77 kB / 1.298 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.179e-05/0.4174, allocations: 43.39 kB / 1.298 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4174, allocations: 4 kB / 1.298 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4175, allocations: 0 / 1.298 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4175, allocations: 3.938 kB / 1.298 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.4181, allocations: 456.4 kB / 1.299 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4181, allocations: 0 / 1.299 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.4185, allocations: 71.84 kB / 1.299 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4185, allocations: 4 kB / 1.299 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.4186, allocations: 7.984 kB / 1.299 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4186, allocations: 0 / 1.299 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4186, allocations: 0 / 1.299 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.4204, allocations: 0.6606 MB / 1.299 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.4206, allocations: 91.64 kB / 1.299 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.4207, allocations: 7.984 kB / 1.299 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.4211, allocations: 47.94 kB / 1.3 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.466e-05/0.4212, allocations: 19.97 kB / 1.3 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.4213, allocations: 19.86 kB / 1.3 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004001/0.4217, allocations: 319.1 kB / 1.3 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.4217, allocations: 0 / 1.3 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003953/0.4221, allocations: 79.94 kB / 1.3 GB, free: 2.078 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 (16): * Single equations (assignments): 14 * 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.002297/0.4244, allocations: 1.241 MB / 1.301 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.4263, allocations: 0.7929 MB / 1.302 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4263, allocations: 0 / 1.302 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.4272, allocations: 315.7 kB / 1.302 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.4277, allocations: 77.33 kB / 1.302 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.4388, allocations: 6.255 MB / 1.308 GB, free: 9.238 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.439, allocations: 210 kB / 1.309 GB, free: 9.012 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000411/0.4395, allocations: 106.2 kB / 1.309 GB, free: 8.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.4397, allocations: 103.4 kB / 1.309 GB, free: 8.809 MB / 1.014 GB Notification: Performance of SimCode: time 1.292e-06/0.4397, allocations: 0 / 1.309 GB, free: 8.809 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05721/0.4969, allocations: 12 MB / 1.321 GB, free: 13.05 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.01, allocations: 17.06 kB / 1.321 GB, free: 13.04 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.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.577268042135984]