Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009844/0.0009844, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009464/0.0009464, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.666e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002473/0.00249, allocations: 2.069 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.004604, allocations: 1.748 MB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004717, allocations: 4 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.005283, allocations: 206.7 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.005389, allocations: 63.36 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007939/0.006183, allocations: 432.5 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.00656, allocations: 417.9 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.006651, allocations: 16.59 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.006834, allocations: 211.6 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.00698, allocations: 135.6 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.007019, allocations: 28 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.007347, allocations: 255.5 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.007459, allocations: 123.6 kB / 1.005 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.374e-05/0.007553, allocations: 111.7 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.008097, allocations: 0.6388 MB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.0081, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.293e-06/0.008101, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.008106, allocations: 7.938 kB / 1.006 GB, free: 7.062 MB / 0.9636 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.0007854/0.008891, allocations: 0.6383 MB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.008928, allocations: 8.75 kB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.008965, allocations: 46.73 kB / 1.007 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009104/0.009875, allocations: 180.5 kB / 1.007 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.01019, allocations: 308 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.01029, allocations: 131.3 kB / 1.007 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.01031, allocations: 8.375 kB / 1.007 GB, free: 5.66 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006152/0.01093, allocations: 437.8 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.01094, allocations: 4.125 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.01096, allocations: 3.938 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.01096, allocations: 0 / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008273/0.01179, allocations: 0.6104 MB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.01292, allocations: 0.9599 MB / 1.009 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.01509, allocations: 0.8494 MB / 1.01 GB, free: 2.746 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.0155, allocations: 312.6 kB / 1.01 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01552, allocations: 11.94 kB / 1.01 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/0.01608, allocations: 435 kB / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.01608, allocations: 0 / 1.011 GB, free: 1.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001436/0.01752, allocations: 0.9524 MB / 1.012 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.01756, allocations: 63.39 kB / 1.012 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.01788, allocations: 437.6 kB / 1.012 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.01791, allocations: 29.7 kB / 1.012 GB, free: 496 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.01801, allocations: 172.1 kB / 1.012 GB, free: 320 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.01806, allocations: 55.56 kB / 1.012 GB, free: 264 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.01815, allocations: 53.67 kB / 1.012 GB, free: 204 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.01826, allocations: 350.7 kB / 1.013 GB, free: 15.85 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005062/0.01877, allocations: 409.4 kB / 1.013 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.01924, allocations: 413.5 kB / 1.014 GB, free: 15.03 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.02009, allocations: 0.6212 MB / 1.014 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.02009, allocations: 0 / 1.014 GB, free: 14.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00115/0.02124, allocations: 0.9533 MB / 1.015 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.02129, allocations: 47.41 kB / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.02129, allocations: 0 / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.0213, allocations: 0 / 1.015 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.02152, allocations: 71.84 kB / 1.015 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.02153, allocations: 0 / 1.015 GB, free: 13.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.02171, allocations: 47.84 kB / 1.015 GB, free: 13.26 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.02174, allocations: 11.98 kB / 1.015 GB, free: 13.25 MB / 0.9792 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0001824/0.02193, allocations: 196 kB / 1.015 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.02197, allocations: 31.81 kB / 1.015 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.02201, allocations: 51.33 kB / 1.016 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.02202, allocations: 3.938 kB / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.02202, allocations: 0 / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02203, allocations: 0 / 1.016 GB, free: 12.96 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.02239, allocations: 468.2 kB / 1.016 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.02239, allocations: 0 / 1.016 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.02259, allocations: 63.92 kB / 1.016 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.02259, allocations: 0 / 1.016 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.02261, allocations: 15.97 kB / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.02261, allocations: 0 / 1.016 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.02262, allocations: 4 kB / 1.016 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009209/0.02354, allocations: 0.6799 MB / 1.017 GB, free: 11.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.02366, allocations: 95.62 kB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.0237, allocations: 8 kB / 1.017 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.02389, allocations: 43.94 kB / 1.017 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.02395, allocations: 19.97 kB / 1.017 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.02397, allocations: 15.98 kB / 1.017 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002478/0.02422, allocations: 319.1 kB / 1.017 GB, free: 11.2 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02422, allocations: 3.938 kB / 1.017 GB, free: 11.19 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002387/0.02446, allocations: 75.98 kB / 1.017 GB, free: 11.12 MB / 0.9792 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.001354/0.02581, allocations: 1.254 MB / 1.018 GB, free: 9.836 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.02727, allocations: 0.7974 MB / 1.019 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.02728, allocations: 0 / 1.019 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006633/0.02794, allocations: 327.7 kB / 1.02 GB, free: 8.699 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.02834, allocations: 77.31 kB / 1.02 GB, free: 8.625 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.03443, allocations: 6.311 MB / 1.026 GB, free: 2.188 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.03456, allocations: 202.1 kB / 1.026 GB, free: 1.973 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.03478, allocations: 102.2 kB / 1.026 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.03493, allocations: 112.4 kB / 1.026 GB, free: 1.758 MB / 0.9792 GB Notification: Performance of SimCode: time 4.11e-07/0.03493, allocations: 0 / 1.026 GB, free: 1.758 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.0562, allocations: 12.05 MB / 1.038 GB, free: 5.934 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.876, allocations: 11.86 kB / 1.038 GB, free: 5.922 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv --start-time 0 --stop-time 3600 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TConIn from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.TEvaIn in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.TEvaIn from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.m_flow in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.m_flow from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! Error: Could not read variable cooCap.Q_flow[1] in file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv. Warning: Get data of variable cooCap.Q_flow[1] from file Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.521789556369185]