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.001778/0.001778, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002734/0.002734, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] 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 3.289/3.289, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.003074/0.003074, allocations: 63.03 kB / 1.177 GB, free: 16.98 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3908, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.00385/0.3947, allocations: 2.172 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.3979, allocations: 1.905 MB / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.3982, allocations: 0 / 1.357 GB, free: 4.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.399, allocations: 234.7 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3992, allocations: 67.36 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.4006, allocations: 424.4 kB / 1.358 GB, free: 3.672 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007195/0.4013, allocations: 418.8 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4014, allocations: 24.58 kB / 1.358 GB, free: 3.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.4017, allocations: 159.5 kB / 1.358 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000336/0.4021, allocations: 159.4 kB / 1.358 GB, free: 2.926 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-05/0.4022, allocations: 28 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006088/0.4028, allocations: 283.6 kB / 1.359 GB, free: 2.621 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.403, allocations: 115.6 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.4032, allocations: 167.2 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0009483/0.4042, allocations: 0.6034 MB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4042, allocations: 0 / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4042, allocations: 4 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.171e-05/0.4042, allocations: 0 / 1.359 GB, free: 1.734 MB / 1.045 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.001629/0.4058, allocations: 0.6344 MB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4059, allocations: 8.031 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.825e-05/0.406, allocations: 42.73 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001994/0.4079, allocations: 188.4 kB / 1.36 GB, free: 0.8203 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.4086, allocations: 316.7 kB / 1.361 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.4088, allocations: 127.3 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4088, allocations: 16.38 kB / 1.361 GB, free: 332 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.4099, allocations: 463 kB / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.4099, allocations: 0 / 1.361 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.41, allocations: 4 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.41, allocations: 7.938 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.4116, allocations: 0.6011 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.4136, allocations: 1.042 MB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/0.4185, allocations: 0.8573 MB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007627/0.4193, allocations: 310.8 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.4193, allocations: 4 kB / 1.364 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.4203, allocations: 465.2 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.4203, allocations: 0 / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.4228, allocations: 0.9422 MB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4229, allocations: 59.39 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000568/0.4235, allocations: 433.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.651e-05/0.4235, allocations: 37.69 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.4237, allocations: 168.1 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.4238, allocations: 47.59 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.4239, allocations: 57.67 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4241, allocations: 350.7 kB / 1.366 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/0.425, allocations: 388.6 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.4258, allocations: 395.7 kB / 1.367 GB, free: 9.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.4273, allocations: 0.6209 MB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4273, allocations: 0 / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001947/0.4292, allocations: 0.9165 MB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.4293, allocations: 48.19 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4293, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4293, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.4298, allocations: 71.84 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.4298, allocations: 0 / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.4302, allocations: 47.89 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.4303, allocations: 15.97 kB / 1.369 GB, free: 7.891 MB / 1.061 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.0002629/0.4305, allocations: 193.7 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.4306, allocations: 35.77 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.76e-05/0.4307, allocations: 43.39 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4307, allocations: 4 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4307, allocations: 0 / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4307, allocations: 3.938 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.4313, allocations: 0.5313 MB / 1.37 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.4313, allocations: 3.938 kB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.4318, allocations: 67.84 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4318, allocations: 0 / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.4318, allocations: 11.98 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4318, allocations: 0 / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4318, allocations: 7.984 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.4335, allocations: 0.674 MB / 1.37 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4337, allocations: 95.62 kB / 1.37 GB, free: 6.156 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.4338, allocations: 12 kB / 1.37 GB, free: 6.145 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.4342, allocations: 47.88 kB / 1.37 GB, free: 6.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.562e-05/0.4343, allocations: 23.97 kB / 1.37 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.4344, allocations: 19.84 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003669/0.4347, allocations: 323.1 kB / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4347, allocations: 0 / 1.371 GB, free: 5.738 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000364/0.4351, allocations: 75.94 kB / 1.371 GB, free: 5.664 MB / 1.061 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.002089/0.4372, allocations: 1.235 MB / 1.372 GB, free: 4.398 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.4389, allocations: 0.7723 MB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4389, allocations: 0 / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.4397, allocations: 331.7 kB / 1.373 GB, free: 3.289 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.4402, allocations: 86.56 kB / 1.373 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/0.4501, allocations: 6.149 MB / 1.379 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.4505, allocations: 0.818 MB / 1.38 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003904/0.4509, allocations: 106.2 kB / 1.38 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.4512, allocations: 107.4 kB / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of SimCode: time 9.52e-07/0.4512, allocations: 0 / 1.38 GB, free: 11.91 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.4912, allocations: 11.09 MB / 1.391 GB, free: 1.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.99, allocations: 9.172 kB / 1.391 GB, free: 1.012 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.028605218045413]