Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 103.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.056 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8521, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.004187/0.8563, allocations: 2.146 MB / 1.215 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003488/0.8598, allocations: 1.869 MB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002573/0.86, allocations: 2.156 kB / 1.217 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000914/0.8609, allocations: 232.6 kB / 1.217 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.8612, allocations: 71.09 kB / 1.217 GB, free: 472 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.8626, allocations: 415.5 kB / 1.218 GB, free: 196 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.8633, allocations: 412.4 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.8634, allocations: 24.47 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.8636, allocations: 155.8 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.8639, allocations: 167.2 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.8639, allocations: 30.41 kB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.8644, allocations: 247 kB / 1.219 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.8645, allocations: 118.3 kB / 1.219 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.8647, allocations: 166.6 kB / 1.219 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008383/0.8655, allocations: 0.5929 MB / 1.219 GB, free: 15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.8655, allocations: 0 / 1.219 GB, free: 15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8656, allocations: 0 / 1.219 GB, free: 15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.8656, allocations: 0 / 1.219 GB, free: 15 MB / 0.9356 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.001359/0.8669, allocations: 0.7103 MB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.867, allocations: 9.969 kB / 1.22 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.779e-05/0.867, allocations: 55.2 kB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.8687, allocations: 156.7 kB / 1.22 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.8693, allocations: 369.6 kB / 1.221 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8694, allocations: 76.8 kB / 1.221 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.8695, allocations: 14.84 kB / 1.221 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.8705, allocations: 437.1 kB / 1.221 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.8705, allocations: 3.938 kB / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.8705, allocations: 5.906 kB / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8705, allocations: 1.156 kB / 1.221 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.8721, allocations: 0.5851 MB / 1.222 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.8741, allocations: 1.047 MB / 1.223 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004804/0.8789, allocations: 0.8384 MB / 1.224 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.8797, allocations: 298.6 kB / 1.224 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.8797, allocations: 2.875 kB / 1.224 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000973/0.8807, allocations: 446.7 kB / 1.224 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.454e-06/0.8807, allocations: 0 / 1.224 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002374/0.883, allocations: 0.9191 MB / 1.225 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.8831, allocations: 58.22 kB / 1.225 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005588/0.8836, allocations: 435.2 kB / 1.226 GB, free: 11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.8837, allocations: 33.7 kB / 1.226 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.8839, allocations: 172 kB / 1.226 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.8839, allocations: 55.58 kB / 1.226 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.8841, allocations: 53.67 kB / 1.226 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8842, allocations: 346.8 kB / 1.226 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008176/0.8851, allocations: 384.6 kB / 1.227 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/0.8859, allocations: 371.7 kB / 1.227 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.8873, allocations: 0.5902 MB / 1.228 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8873, allocations: 0 / 1.228 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001928/0.8892, allocations: 0.9126 MB / 1.228 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.8893, allocations: 41.69 kB / 1.228 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8893, allocations: 0 / 1.228 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.8893, allocations: 4 kB / 1.228 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.8897, allocations: 63.92 kB / 1.229 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.8897, allocations: 0 / 1.229 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.8901, allocations: 47.83 kB / 1.229 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.8902, allocations: 15.97 kB / 1.229 GB, free: 7.891 MB / 0.9356 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.0002711/0.8905, allocations: 187.8 kB / 1.229 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.8905, allocations: 39.75 kB / 1.229 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.8906, allocations: 43.47 kB / 1.229 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.8906, allocations: 0 / 1.229 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8906, allocations: 3.938 kB / 1.229 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.8906, allocations: 11.94 kB / 1.229 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.8913, allocations: 0.5363 MB / 1.229 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8913, allocations: 0 / 1.229 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.8917, allocations: 59.92 kB / 1.229 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8917, allocations: 4 kB / 1.229 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.8917, allocations: 7.922 kB / 1.229 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8917, allocations: 8 kB / 1.229 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8917, allocations: 0 / 1.229 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.8933, allocations: 0.6634 MB / 1.23 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.8936, allocations: 168.8 kB / 1.23 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.8936, allocations: 4 kB / 1.23 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.894, allocations: 47.94 kB / 1.23 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/0.8941, allocations: 19.97 kB / 1.23 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.8941, allocations: 11.92 kB / 1.23 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003559/0.8945, allocations: 323.1 kB / 1.231 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8945, allocations: 0 / 1.231 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000406/0.8949, allocations: 79.94 kB / 1.231 GB, free: 5.605 MB / 0.9356 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.002125/0.897, allocations: 1.229 MB / 1.232 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.8988, allocations: 0.7555 MB / 1.233 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8988, allocations: 0 / 1.233 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007613/0.8995, allocations: 315.7 kB / 1.233 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.9, allocations: 81.38 kB / 1.233 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009956/0.9099, allocations: 6.117 MB / 1.239 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.9104, allocations: 0.8065 MB / 1.24 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004109/0.9108, allocations: 106.2 kB / 1.24 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.911, allocations: 103.4 kB / 1.24 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of SimCode: time 1.123e-06/0.911, allocations: 0 / 1.24 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04019/0.9512, allocations: 10.82 MB / 1.251 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.431, allocations: 6.328 kB / 1.251 GB, free: 1.328 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.32576743280515]