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.001808/0.001808, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002527/0.002527, allocations: 214 kB / 22.25 MB, free: 5.082 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 8.02 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.942/2.942, allocations: 476.8 MB / 0.7707 GB, free: 4.465 MB / 0.6231 GB " [Timeout remaining time 176] 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.002105/0.002105, allocations: 70.39 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003743/0.3872, allocations: 2.187 MB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.3903, allocations: 1.904 MB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.3905, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007373/0.3912, allocations: 222.3 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.3914, allocations: 63.42 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.3926, allocations: 445.7 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006155/0.3932, allocations: 414.7 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3933, allocations: 24.58 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.3936, allocations: 155.6 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.3939, allocations: 159.5 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.394, allocations: 28 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.3945, allocations: 275.6 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.3947, allocations: 123.6 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.3949, allocations: 163.2 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.3958, allocations: 0.6033 MB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3958, allocations: 4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3958, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.3958, allocations: 0 / 1.29 GB, free: 5.051 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001364/0.3971, allocations: 0.6383 MB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3972, allocations: 8.031 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.376e-05/0.3973, allocations: 46.75 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.399, allocations: 164.5 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3995, allocations: 320.7 kB / 1.291 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.3997, allocations: 127.4 kB / 1.291 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.3997, allocations: 8.375 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4007, allocations: 445.1 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4008, allocations: 0 / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.4008, allocations: 7.984 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4008, allocations: 0 / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4024, allocations: 0.5816 MB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.4045, allocations: 1.034 MB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005039/0.4096, allocations: 0.8356 MB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/0.4104, allocations: 300.7 kB / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.4104, allocations: 0 / 1.294 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.4115, allocations: 450.9 kB / 1.295 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 3.035e-06/0.4115, allocations: 4 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.002584/0.4141, allocations: 0.9148 MB / 1.296 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.4142, allocations: 59.41 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000665/0.4148, allocations: 429.6 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.4149, allocations: 33.7 kB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.4151, allocations: 176 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.388e-05/0.4152, allocations: 51.58 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.4154, allocations: 57.61 kB / 1.296 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4155, allocations: 350.7 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.4164, allocations: 384.5 kB / 1.297 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000888/0.4173, allocations: 369.8 kB / 1.297 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/0.4189, allocations: 0.6022 MB / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4189, allocations: 0 / 1.298 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002091/0.421, allocations: 0.8971 MB / 1.299 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.421, allocations: 41.69 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.421, allocations: 4 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4211, allocations: 0 / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.4215, allocations: 63.86 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4216, allocations: 4 kB / 1.299 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.422, allocations: 47.84 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.4221, allocations: 15.97 kB / 1.299 GB, free: 11.41 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.0003614/0.4224, allocations: 183.9 kB / 1.299 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4225, allocations: 35.77 kB / 1.299 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.4226, allocations: 47.39 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4226, allocations: 3.938 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4226, allocations: 0 / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.4227, allocations: 3.938 kB / 1.299 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.4234, allocations: 0.5197 MB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4234, allocations: 4 kB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.4238, allocations: 55.92 kB / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4238, allocations: 0 / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.4239, allocations: 11.98 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4239, allocations: 3.938 kB / 1.3 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4239, allocations: 8 kB / 1.3 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.4256, allocations: 0.6711 MB / 1.301 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.4259, allocations: 87.69 kB / 1.301 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.426, allocations: 4 kB / 1.301 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.4264, allocations: 47.88 kB / 1.301 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.572e-05/0.4265, allocations: 23.97 kB / 1.301 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.4265, allocations: 15.92 kB / 1.301 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000437/0.427, allocations: 319.1 kB / 1.301 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.427, allocations: 0 / 1.301 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004484/0.4274, allocations: 79.94 kB / 1.301 GB, free: 9.242 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.002281/0.4297, allocations: 1.229 MB / 1.302 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.4316, allocations: 0.7489 MB / 1.303 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4316, allocations: 0 / 1.303 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.4324, allocations: 319.7 kB / 1.303 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.4329, allocations: 77.33 kB / 1.303 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.4439, allocations: 6.104 MB / 1.309 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.4444, allocations: 0.8142 MB / 1.31 GB, free: 15.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.4448, allocations: 106.2 kB / 1.31 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.445, allocations: 99.38 kB / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of SimCode: time 9.21e-07/0.445, allocations: 0 / 1.31 GB, free: 15.59 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.4898, allocations: 11.01 MB / 1.321 GB, free: 4.801 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.78, allocations: 2.5 kB / 1.321 GB, free: 4.801 MB / 1.014 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.86976000596769]