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.001298/0.001298, 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.001543/0.001543, allocations: 218.4 kB / 22.24 MB, free: 5.258 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.816 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.295/3.295, allocations: 0.49 GB / 0.7951 GB, free: 35.61 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.002055/0.002055, allocations: 69.11 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 176.1 MB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003864/0.3939, allocations: 2.061 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.3971, allocations: 1.745 MB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.3972, allocations: 0 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.398, allocations: 202.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.3982, allocations: 67.36 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3995, allocations: 440.1 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000638/0.4001, allocations: 406.8 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4002, allocations: 28.56 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002978/0.4005, allocations: 159.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.4008, allocations: 159.4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.131e-05/0.4009, allocations: 28 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.4015, allocations: 275.6 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.4016, allocations: 115.7 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.4018, allocations: 143.3 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009014/0.4027, allocations: 0.5879 MB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4027, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4027, allocations: 3.938 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.864e-05/0.4028, allocations: 0 / 1.332 GB, free: 11.17 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.001465/0.4042, allocations: 0.6498 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4043, allocations: 12.03 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.456e-05/0.4043, allocations: 42.75 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.406, allocations: 160.5 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.4066, allocations: 312.8 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.4068, allocations: 127.3 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.986e-05/0.4068, allocations: 12.38 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.4079, allocations: 445.2 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4079, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4079, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4079, allocations: 4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.4095, allocations: 0.5777 MB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.4115, allocations: 0.9443 MB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004619/0.4161, allocations: 0.8377 MB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.4169, allocations: 304.6 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.4169, allocations: 3.984 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.418, allocations: 435.3 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/0.418, allocations: 4 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002526/0.4205, allocations: 0.9241 MB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4205, allocations: 59.39 kB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/0.4211, allocations: 433.6 kB / 1.338 GB, free: 4.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.4212, allocations: 29.7 kB / 1.338 GB, free: 4.695 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4213, allocations: 184 kB / 1.338 GB, free: 4.512 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.961e-05/0.4214, allocations: 43.64 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.4215, allocations: 53.67 kB / 1.338 GB, free: 4.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.4217, allocations: 358.7 kB / 1.339 GB, free: 4.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.4226, allocations: 418.4 kB / 1.339 GB, free: 3.633 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008485/0.4234, allocations: 411.1 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001472/0.4249, allocations: 0.6009 MB / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4249, allocations: 0 / 1.34 GB, free: 2.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001972/0.4269, allocations: 0.9428 MB / 1.341 GB, free: 1.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.4269, allocations: 41.69 kB / 1.341 GB, free: 1.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.427, allocations: 4 kB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.427, allocations: 0 / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.4274, allocations: 63.92 kB / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4274, allocations: 0 / 1.341 GB, free: 1.543 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.4278, allocations: 51.78 kB / 1.341 GB, free: 1.492 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.4279, allocations: 15.98 kB / 1.341 GB, free: 1.477 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.0002566/0.4281, allocations: 190.8 kB / 1.341 GB, free: 1.281 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.4282, allocations: 35.77 kB / 1.341 GB, free: 1.246 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.403e-05/0.4283, allocations: 39.39 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4283, allocations: 4 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4283, allocations: 0 / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4283, allocations: 3.938 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005285/0.4288, allocations: 468.2 kB / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4288, allocations: 0 / 1.342 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.4292, allocations: 67.91 kB / 1.342 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4292, allocations: 0 / 1.342 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.4293, allocations: 7.984 kB / 1.342 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4293, allocations: 0 / 1.342 GB, free: 0.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4293, allocations: 7.938 kB / 1.342 GB, free: 0.6172 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.4309, allocations: 0.6595 MB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4311, allocations: 95.64 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.4312, allocations: 7.984 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.4316, allocations: 43.94 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.4317, allocations: 19.97 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.4317, allocations: 11.92 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003422/0.4321, allocations: 327.1 kB / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4321, allocations: 0 / 1.343 GB, free: 15.45 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003623/0.4324, allocations: 79.94 kB / 1.343 GB, free: 15.37 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.002092/0.4345, allocations: 1.233 MB / 1.344 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001804/0.4363, allocations: 0.7895 MB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4363, allocations: 3.938 kB / 1.345 GB, free: 13.29 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000806/0.4371, allocations: 319.7 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4376, allocations: 76.48 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009908/0.4475, allocations: 6.252 MB / 1.352 GB, free: 6.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.4477, allocations: 202.1 kB / 1.352 GB, free: 6.32 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003562/0.448, allocations: 102.2 kB / 1.352 GB, free: 6.219 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.4483, allocations: 107.3 kB / 1.352 GB, free: 6.113 MB / 1.045 GB Notification: Performance of SimCode: time 9.92e-07/0.4483, allocations: 0 / 1.352 GB, free: 6.113 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.4888, allocations: 12.07 MB / 1.364 GB, free: 10.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.7, allocations: 4.547 kB / 1.364 GB, free: 10.26 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 & 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: 18.681608128012158]