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.004615/0.004615, allocations: 99.42 kB / 15.73 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 192.4 kB / 16.67 MB, free: 5.957 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.567/2.567, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2638, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003161/0.267, allocations: 2.152 MB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.2693, allocations: 1.846 MB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.2694, allocations: 4 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005752/0.27, allocations: 226.7 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2701, allocations: 63.42 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008663/0.271, allocations: 414.8 kB / 1.225 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004512/0.2715, allocations: 422.7 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.569e-05/0.2716, allocations: 36.39 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.2717, allocations: 147.6 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2719, allocations: 163.4 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.272, allocations: 28 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.2724, allocations: 235.7 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.2725, allocations: 123.7 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2727, allocations: 163.2 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.2733, allocations: 0.5956 MB / 1.227 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.2733, allocations: 0 / 1.227 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2733, allocations: 0 / 1.227 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2733, allocations: 0 / 1.227 GB, free: 7.738 MB / 0.9825 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.00108/0.2744, allocations: 0.7213 MB / 1.227 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.2745, allocations: 12.03 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.2745, allocations: 42.75 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.2761, allocations: 160.6 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.2766, allocations: 374.5 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.737e-05/0.2767, allocations: 75.94 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.2767, allocations: 8.359 kB / 1.228 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.2777, allocations: 441.1 kB / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2777, allocations: 0 / 1.228 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.2778, allocations: 8 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2778, allocations: 0 / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.2793, allocations: 0.5816 MB / 1.229 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.281, allocations: 1.047 MB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/0.2857, allocations: 0.8495 MB / 1.231 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007469/0.2865, allocations: 308.6 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.2865, allocations: 0 / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009503/0.2875, allocations: 443 kB / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.2875, allocations: 0 / 1.231 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002411/0.2899, allocations: 0.9226 MB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.29, allocations: 55.39 kB / 1.232 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.2904, allocations: 429.6 kB / 1.233 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.2905, allocations: 45.56 kB / 1.233 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.2906, allocations: 168.1 kB / 1.233 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.733e-05/0.2907, allocations: 59.52 kB / 1.233 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.2908, allocations: 53.67 kB / 1.233 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.291, allocations: 350.7 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008757/0.2918, allocations: 384.5 kB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000869/0.2927, allocations: 377.9 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.2942, allocations: 0.5919 MB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2942, allocations: 4 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001935/0.2962, allocations: 0.8991 MB / 1.236 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.431e-05/0.2962, allocations: 45.69 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.2962, allocations: 0 / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2962, allocations: 0 / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.2967, allocations: 71.84 kB / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2967, allocations: 0 / 1.236 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.2971, allocations: 47.83 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.2971, allocations: 11.98 kB / 1.236 GB, free: 13.96 MB / 0.9981 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.0002023/0.2974, allocations: 190.9 kB / 1.236 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2974, allocations: 35.77 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.2975, allocations: 39.47 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.2975, allocations: 4 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2975, allocations: 0 / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2975, allocations: 7.922 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.2981, allocations: 0.5401 MB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2981, allocations: 3.938 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.2985, allocations: 67.86 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2985, allocations: 0 / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.2986, allocations: 11.98 kB / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2986, allocations: 0 / 1.237 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.2986, allocations: 3.984 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.3002, allocations: 0.6588 MB / 1.237 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.3004, allocations: 160.8 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.3005, allocations: 15.91 kB / 1.238 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.3009, allocations: 47.94 kB / 1.238 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.301, allocations: 15.98 kB / 1.238 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.301, allocations: 19.92 kB / 1.238 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003253/0.3014, allocations: 315.1 kB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3014, allocations: 0 / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003083/0.3017, allocations: 87.92 kB / 1.238 GB, free: 11.66 MB / 0.9981 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.002051/0.3037, allocations: 1.232 MB / 1.239 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.3055, allocations: 0.7644 MB / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3055, allocations: 0 / 1.24 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/0.3063, allocations: 327.7 kB / 1.24 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.3067, allocations: 77.44 kB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.3162, allocations: 6.101 MB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004432/0.3167, allocations: 0.8181 MB / 1.247 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003268/0.317, allocations: 110.2 kB / 1.247 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.3172, allocations: 99.38 kB / 1.247 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3172, allocations: 0 / 1.247 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7582/1.075, allocations: 10.77 MB / 1.258 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/9.678, allocations: 11.2 kB / 1.258 GB, free: 30.12 MB / 0.9981 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