Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 197.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 469.8 MB / 0.7424 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 68.62 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2521, allocations: 159.2 MB / 1.064 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003445/0.2556, allocations: 2.144 MB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2583, allocations: 1.846 MB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.2584, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006477/0.259, allocations: 227 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.2592, allocations: 63.36 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.2602, allocations: 426.3 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.2607, allocations: 402.8 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.2608, allocations: 44.39 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.261, allocations: 151.6 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.2613, allocations: 159.4 kB / 1.069 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.2614, allocations: 28 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.2618, allocations: 243.6 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.2619, allocations: 115.7 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2621, allocations: 167.2 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.2628, allocations: 0.592 MB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2628, allocations: 0 / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2628, allocations: 0 / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2628, allocations: 0 / 1.07 GB, free: 7.555 MB / 0.8262 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.001193/0.264, allocations: 0.6983 MB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2641, allocations: 16.03 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.142e-05/0.2641, allocations: 38.75 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.266, allocations: 164.3 kB / 1.071 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.2665, allocations: 366.2 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.2666, allocations: 75.95 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.2666, allocations: 4.375 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.2677, allocations: 446.5 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.2678, allocations: 4 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.2678, allocations: 7.969 kB / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2678, allocations: 0 / 1.072 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.2696, allocations: 0.5816 MB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.2715, allocations: 1.035 MB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005254/0.2768, allocations: 0.8464 MB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.2776, allocations: 312.6 kB / 1.075 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.2777, allocations: 7.984 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.2787, allocations: 442.9 kB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.2787, allocations: 0 / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002616/0.2813, allocations: 0.92 MB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2814, allocations: 55.41 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.2819, allocations: 433.6 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.282, allocations: 29.7 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.2821, allocations: 176 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.2822, allocations: 51.3 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2823, allocations: 57.61 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2825, allocations: 354.8 kB / 1.077 GB, free: 260 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.2835, allocations: 380.6 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.2844, allocations: 377 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.286, allocations: 0.5939 MB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.286, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002081/0.2881, allocations: 0.9007 MB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.2882, allocations: 41.69 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2882, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2882, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.2887, allocations: 63.86 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2887, allocations: 0 / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.2891, allocations: 59.72 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.2892, allocations: 11.98 kB / 1.08 GB, free: 13.82 MB / 0.8419 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.0002332/0.2894, allocations: 185.8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.995e-05/0.2895, allocations: 31.62 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.065e-05/0.2896, allocations: 43.47 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2896, allocations: 7.938 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2896, allocations: 0 / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2896, allocations: 3.938 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.2902, allocations: 0.5399 MB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2902, allocations: 0 / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.2907, allocations: 67.92 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2907, allocations: 0 / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.2907, allocations: 11.98 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2908, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2908, allocations: 0 / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2925, allocations: 0.6621 MB / 1.081 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.2927, allocations: 168.5 kB / 1.081 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.49e-05/0.2928, allocations: 8 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.2933, allocations: 47.94 kB / 1.081 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.2934, allocations: 15.97 kB / 1.081 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2934, allocations: 19.92 kB / 1.081 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003588/0.2938, allocations: 315.1 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2938, allocations: 0 / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003646/0.2941, allocations: 80.25 kB / 1.082 GB, free: 11.53 MB / 0.8419 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.002235/0.2964, allocations: 1.242 MB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001957/0.2984, allocations: 0.778 MB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2984, allocations: 3.938 kB / 1.084 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008494/0.2992, allocations: 323.7 kB / 1.084 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.2996, allocations: 77.44 kB / 1.084 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.3102, allocations: 6.14 MB / 1.09 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3106, allocations: 0.8104 MB / 1.091 GB, free: 2.012 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000415/0.311, allocations: 98.25 kB / 1.091 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3113, allocations: 111.3 kB / 1.091 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3113, allocations: 0 / 1.091 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1669/0.4782, allocations: 10.67 MB / 1.102 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.895, allocations: 5.828 kB / 1.102 GB, free: 7.309 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches