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.001888/0.001888, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002662/0.002662, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.521/1.521, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.345/3.345, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.002042/0.002042, allocations: 71.8 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 176.1 MB / 1.321 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003894/0.3757, allocations: 2.158 MB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.3789, allocations: 1.896 MB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001463/0.379, allocations: 4 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007434/0.3797, allocations: 231 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.3799, allocations: 67.41 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3811, allocations: 415.8 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000573/0.3817, allocations: 406.8 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3818, allocations: 28.39 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.382, allocations: 167.4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3822, allocations: 155.5 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.3823, allocations: 28 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.3827, allocations: 247.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.3829, allocations: 119.6 kB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3831, allocations: 163.2 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007477/0.3838, allocations: 0.6034 MB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3838, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3838, allocations: 0 / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.3838, allocations: 0 / 1.327 GB, free: 12.69 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.001267/0.3851, allocations: 0.7175 MB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3851, allocations: 11.98 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.326e-05/0.3852, allocations: 46.73 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.387, allocations: 160.5 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.3875, allocations: 374.5 kB / 1.329 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3876, allocations: 75.94 kB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.3877, allocations: 16.38 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.3888, allocations: 441.1 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3888, allocations: 4 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.3888, allocations: 0 / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3888, allocations: 0 / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.3906, allocations: 0.5855 MB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.3926, allocations: 1.039 MB / 1.331 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005198/0.3978, allocations: 0.8377 MB / 1.331 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/0.3987, allocations: 304.6 kB / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.3987, allocations: 0 / 1.332 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/0.3998, allocations: 450.9 kB / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.735e-06/0.3998, allocations: 0 / 1.332 GB, free: 7.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002796/0.4026, allocations: 0.9168 MB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.4027, allocations: 59.41 kB / 1.333 GB, free: 6.477 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.4032, allocations: 433.6 kB / 1.334 GB, free: 6.043 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.4033, allocations: 33.7 kB / 1.334 GB, free: 6.004 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4035, allocations: 168.1 kB / 1.334 GB, free: 5.836 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4035, allocations: 55.53 kB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.4037, allocations: 53.66 kB / 1.334 GB, free: 5.723 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4039, allocations: 354.7 kB / 1.334 GB, free: 5.367 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009669/0.4048, allocations: 376.6 kB / 1.335 GB, free: 4.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009344/0.4058, allocations: 379.7 kB / 1.335 GB, free: 4.625 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.4074, allocations: 0.6012 MB / 1.335 GB, free: 4.016 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4074, allocations: 4 kB / 1.336 GB, free: 4.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002176/0.4096, allocations: 0.8909 MB / 1.336 GB, free: 3.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.4097, allocations: 49.62 kB / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4097, allocations: 0 / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.4097, allocations: 0 / 1.336 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.4102, allocations: 67.86 kB / 1.336 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4102, allocations: 0 / 1.336 GB, free: 2.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.4107, allocations: 51.84 kB / 1.337 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.4107, allocations: 11.98 kB / 1.337 GB, free: 2.926 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.000316/0.411, allocations: 185.8 kB / 1.337 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.4111, allocations: 39.77 kB / 1.337 GB, free: 2.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.4112, allocations: 35.47 kB / 1.337 GB, free: 2.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4112, allocations: 7.984 kB / 1.337 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4112, allocations: 0 / 1.337 GB, free: 2.656 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.4112, allocations: 3.938 kB / 1.337 GB, free: 2.652 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006794/0.4119, allocations: 0.5555 MB / 1.337 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4119, allocations: 0 / 1.337 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004555/0.4123, allocations: 63.84 kB / 1.337 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4123, allocations: 4 kB / 1.337 GB, free: 1.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.4124, allocations: 11.98 kB / 1.337 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4124, allocations: 0 / 1.337 GB, free: 1.969 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4124, allocations: 4 kB / 1.337 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.4142, allocations: 0.6566 MB / 1.338 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.4144, allocations: 172.7 kB / 1.338 GB, free: 1.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/0.4144, allocations: 8 kB / 1.338 GB, free: 1.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.4149, allocations: 43.94 kB / 1.338 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.415, allocations: 27.97 kB / 1.338 GB, free: 1.023 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.613e-05/0.415, allocations: 15.92 kB / 1.338 GB, free: 1.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003572/0.4154, allocations: 315.1 kB / 1.339 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4154, allocations: 0 / 1.339 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000379/0.4157, allocations: 87.92 kB / 1.339 GB, free: 0.6172 MB / 1.029 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.002333/0.4181, allocations: 1.231 MB / 1.34 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.42, allocations: 0.7411 MB / 1.341 GB, free: 14.6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.42, allocations: 0 / 1.341 GB, free: 14.6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/0.4208, allocations: 323.7 kB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.4213, allocations: 78.94 kB / 1.341 GB, free: 14.21 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.4328, allocations: 6.099 MB / 1.347 GB, free: 8.012 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4333, allocations: 0.8104 MB / 1.348 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000411/0.4337, allocations: 102.2 kB / 1.348 GB, free: 7.074 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.4339, allocations: 103.3 kB / 1.348 GB, free: 6.973 MB / 1.045 GB Notification: Performance of SimCode: time 1.172e-06/0.4339, allocations: 0 / 1.348 GB, free: 6.973 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.4813, allocations: 10.83 MB / 1.359 GB, free: 12.34 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.933, allocations: 12.48 kB / 1.359 GB, free: 12.33 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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] "Error: Could not read variable cooCap.TConIn in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TConIn from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.TEvaIn in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TEvaIn from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.m_flow in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.m_flow from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.Q_flow[1] in file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.Q_flow[1] from file Buildings_12_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.990553970914334]