Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001253/0.001253, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001473/0.001473, allocations: 217 kB / 22.25 MB, free: 5.254 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_12_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.002138/0.002138, allocations: 61.5 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4078, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003665/0.4114, allocations: 2.07 MB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003018/0.4145, allocations: 1.745 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.4146, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007173/0.4153, allocations: 202.8 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.4155, allocations: 67.36 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.4166, allocations: 421.6 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000539/0.4172, allocations: 414.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.4173, allocations: 20.59 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4174, allocations: 159.6 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.4177, allocations: 163.3 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.4177, allocations: 28 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.4182, allocations: 275.6 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.4184, allocations: 115.7 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.4186, allocations: 139.3 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.4193, allocations: 0.5918 MB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4193, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4193, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4193, allocations: 0 / 1.332 GB, free: 11.11 MB / 1.029 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.001276/0.4206, allocations: 0.6459 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4206, allocations: 12.03 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.4207, allocations: 46.73 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.4224, allocations: 160.5 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005324/0.4229, allocations: 316.7 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.4231, allocations: 131.3 kB / 1.333 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.4231, allocations: 4.375 kB / 1.333 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.4242, allocations: 445.2 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.4242, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.4242, allocations: 4 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.4242, allocations: 0 / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.4258, allocations: 0.587 MB / 1.334 GB, free: 8.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.4277, allocations: 0.9404 MB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.4328, allocations: 0.8377 MB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.4335, allocations: 308.6 kB / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.4335, allocations: 0 / 1.336 GB, free: 6.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.4345, allocations: 437.2 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.4345, allocations: 0 / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002525/0.4371, allocations: 0.9187 MB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4371, allocations: 63.33 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.4377, allocations: 437.6 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.469e-05/0.4378, allocations: 33.69 kB / 1.338 GB, free: 4.629 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4379, allocations: 172.1 kB / 1.338 GB, free: 4.457 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/0.438, allocations: 47.64 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.4382, allocations: 53.67 kB / 1.338 GB, free: 4.352 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4384, allocations: 350.7 kB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009313/0.4393, allocations: 422.4 kB / 1.339 GB, free: 3.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/0.4402, allocations: 413.3 kB / 1.34 GB, free: 3.168 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.4417, allocations: 0.5972 MB / 1.34 GB, free: 2.562 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4417, allocations: 0 / 1.34 GB, free: 2.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002013/0.4437, allocations: 0.9428 MB / 1.341 GB, free: 1.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.4438, allocations: 41.69 kB / 1.341 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4438, allocations: 0 / 1.341 GB, free: 1.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4438, allocations: 3.984 kB / 1.341 GB, free: 1.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.4443, allocations: 67.92 kB / 1.341 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4443, allocations: 0 / 1.341 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.4447, allocations: 43.84 kB / 1.341 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/0.4448, allocations: 19.97 kB / 1.341 GB, free: 1.422 MB / 1.029 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.0003234/0.4451, allocations: 186.3 kB / 1.341 GB, free: 1.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.4452, allocations: 39.75 kB / 1.341 GB, free: 1.191 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.4453, allocations: 43.34 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4453, allocations: 0 / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.4453, allocations: 4 kB / 1.342 GB, free: 1.145 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4453, allocations: 3.938 kB / 1.342 GB, free: 1.141 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.4459, allocations: 464.2 kB / 1.342 GB, free: 0.6445 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4459, allocations: 4 kB / 1.342 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/0.4463, allocations: 67.91 kB / 1.342 GB, free: 0.5742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4463, allocations: 4 kB / 1.342 GB, free: 0.5703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.4463, allocations: 3.984 kB / 1.342 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4463, allocations: 7.984 kB / 1.342 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4463, allocations: 0 / 1.342 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.448, allocations: 0.6626 MB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.4482, allocations: 99.62 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.4483, allocations: 4 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.4487, allocations: 47.94 kB / 1.343 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.4488, allocations: 19.97 kB / 1.343 GB, free: 15.71 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.4488, allocations: 11.92 kB / 1.343 GB, free: 15.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000382/0.4492, allocations: 323.1 kB / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4492, allocations: 0 / 1.343 GB, free: 15.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004045/0.4496, allocations: 79.94 kB / 1.343 GB, free: 15.31 MB / 1.045 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.002162/0.4518, allocations: 1.239 MB / 1.344 GB, free: 14.04 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001805/0.4536, allocations: 0.7857 MB / 1.345 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4536, allocations: 4 kB / 1.345 GB, free: 13.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007845/0.4544, allocations: 315.8 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.4548, allocations: 83.28 kB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.4657, allocations: 6.257 MB / 1.352 GB, free: 6.461 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.466, allocations: 206.1 kB / 1.352 GB, free: 6.242 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.4664, allocations: 98.25 kB / 1.352 GB, free: 6.145 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.4666, allocations: 107.4 kB / 1.352 GB, free: 6.039 MB / 1.045 GB Notification: Performance of SimCode: time 1.633e-06/0.4666, allocations: 0 / 1.352 GB, free: 6.039 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04349/0.5101, allocations: 12.07 MB / 1.364 GB, free: 10.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.81, allocations: 15.39 kB / 1.364 GB, free: 10.18 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.634923251986038]