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.001885/0.001885, allocations: 113 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.002839/0.002839, allocations: 210.8 kB / 22.25 MB, free: 5.086 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.016 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.136/3.136, allocations: 0.49 GB / 0.7951 GB, free: 33.43 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.001977/0.001977, allocations: 70.42 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003575/0.3468, allocations: 2.188 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002874/0.3497, allocations: 1.912 MB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.3498, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.3505, allocations: 226.7 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3506, allocations: 63.42 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3517, allocations: 429.2 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.3523, allocations: 418.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.3524, allocations: 20.59 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3526, allocations: 163.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.3528, allocations: 155.5 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.704e-05/0.3529, allocations: 28 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.3534, allocations: 283.6 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3535, allocations: 115.6 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3537, allocations: 167.2 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.3545, allocations: 0.5995 MB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3545, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3545, allocations: 0 / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.3545, allocations: 0 / 1.332 GB, free: 11.16 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.001221/0.3557, allocations: 0.6422 MB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3557, allocations: 8.031 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.747e-05/0.3558, allocations: 42.73 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/0.3575, allocations: 164.5 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.358, allocations: 320.7 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.3581, allocations: 131.2 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.3582, allocations: 12.38 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.3592, allocations: 441.1 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3592, allocations: 0 / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.3592, allocations: 0 / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3592, allocations: 4 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/0.3608, allocations: 0.5855 MB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3627, allocations: 1.011 MB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005186/0.3679, allocations: 0.8416 MB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007803/0.3687, allocations: 304.6 kB / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3687, allocations: 0 / 1.337 GB, free: 6.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.3697, allocations: 453.7 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.843e-06/0.3697, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002569/0.3723, allocations: 0.9149 MB / 1.338 GB, free: 5.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3724, allocations: 59.41 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.3729, allocations: 433.6 kB / 1.339 GB, free: 4.648 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.373, allocations: 33.7 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.3731, allocations: 172.1 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.3732, allocations: 55.58 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.3733, allocations: 53.61 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3735, allocations: 354.7 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008638/0.3743, allocations: 380.5 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.3752, allocations: 377.1 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3767, allocations: 0.6016 MB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3767, allocations: 0 / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001989/0.3787, allocations: 0.8932 MB / 1.341 GB, free: 1.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/0.3787, allocations: 47.72 kB / 1.341 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.3787, allocations: 0 / 1.341 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3788, allocations: 0 / 1.341 GB, free: 1.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.3792, allocations: 71.86 kB / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.3792, allocations: 0 / 1.342 GB, free: 1.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.3796, allocations: 43.84 kB / 1.342 GB, free: 1.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3797, allocations: 11.98 kB / 1.342 GB, free: 1.535 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.0002824/0.38, allocations: 190.3 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.38, allocations: 39.77 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.3801, allocations: 35.41 kB / 1.342 GB, free: 1.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3801, allocations: 3.984 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3801, allocations: 4 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3801, allocations: 7.875 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3808, allocations: 0.5193 MB / 1.342 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3808, allocations: 0 / 1.342 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.3812, allocations: 75.91 kB / 1.342 GB, free: 0.6133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3812, allocations: 3.938 kB / 1.342 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.3813, allocations: 7.984 kB / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3813, allocations: 0 / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3813, allocations: 0 / 1.342 GB, free: 0.6016 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3829, allocations: 0.6632 MB / 1.343 GB, free: 15.92 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.3831, allocations: 91.58 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.3832, allocations: 15.98 kB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.3836, allocations: 47.94 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.3837, allocations: 15.97 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.3837, allocations: 15.92 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003564/0.3841, allocations: 315.1 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3841, allocations: 4 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004036/0.3845, allocations: 83.94 kB / 1.344 GB, free: 15.35 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.3865, allocations: 1.229 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.3883, allocations: 0.7488 MB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3883, allocations: 0 / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.3892, allocations: 319.7 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.3896, allocations: 85.25 kB / 1.346 GB, free: 12.93 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3997, allocations: 6.099 MB / 1.352 GB, free: 6.734 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.4001, allocations: 0.8104 MB / 1.353 GB, free: 5.898 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003692/0.4005, allocations: 98.25 kB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4007, allocations: 103.4 kB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of SimCode: time 1.012e-06/0.4007, allocations: 0 / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.441, allocations: 11.02 MB / 1.364 GB, free: 10.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.46, allocations: 6.656 kB / 1.364 GB, free: 10.89 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.421284586000183]