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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004438/0.004438, allocations: 101 kB / 15.73 MB, free: 6.043 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.001115/0.001115, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.2/1.2, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.392/2.392, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002944/0.2571, allocations: 2.148 MB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.2594, allocations: 1.838 MB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.2595, allocations: 3.938 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.2602, allocations: 227 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2603, allocations: 63.42 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.2612, allocations: 422.5 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.2616, allocations: 410.8 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.752e-05/0.2617, allocations: 40.39 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.2619, allocations: 155.5 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2621, allocations: 159.4 kB / 1.213 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.2621, allocations: 28 kB / 1.213 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.2625, allocations: 239.7 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.2626, allocations: 115.7 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.2628, allocations: 171.2 kB / 1.213 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005711/0.2634, allocations: 0.5959 MB / 1.214 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2634, allocations: 4 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2634, allocations: 0 / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2634, allocations: 0 / 1.214 GB, free: 3.566 MB / 0.9669 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.001099/0.2645, allocations: 0.7022 MB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.2645, allocations: 12.61 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.2646, allocations: 42.75 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.2663, allocations: 160.3 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.2668, allocations: 362.3 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.2669, allocations: 83.8 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.2669, allocations: 12.38 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.2679, allocations: 438.8 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.268, allocations: 0 / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.268, allocations: 4 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.268, allocations: 4 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.2696, allocations: 0.5777 MB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.2714, allocations: 1.043 MB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/0.2764, allocations: 0.8417 MB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/0.2772, allocations: 308.6 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2772, allocations: 7.984 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009674/0.2782, allocations: 452.4 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 3.346e-06/0.2782, allocations: 0 / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002463/0.2807, allocations: 0.9245 MB / 1.219 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2807, allocations: 55.41 kB / 1.22 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.2812, allocations: 429.6 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.2812, allocations: 33.7 kB / 1.22 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.2814, allocations: 179.9 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.2814, allocations: 47.34 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.2816, allocations: 53.67 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2817, allocations: 350.8 kB / 1.221 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008744/0.2826, allocations: 388.6 kB / 1.221 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.2834, allocations: 363.7 kB / 1.221 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.285, allocations: 0.5973 MB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.285, allocations: 4 kB / 1.222 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001925/0.2869, allocations: 0.8982 MB / 1.223 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.287, allocations: 37.69 kB / 1.223 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.287, allocations: 4 kB / 1.223 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.287, allocations: 4 kB / 1.223 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.2875, allocations: 63.86 kB / 1.223 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2875, allocations: 4 kB / 1.223 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.2879, allocations: 51.72 kB / 1.223 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.2879, allocations: 19.98 kB / 1.223 GB, free: 9.82 MB / 0.9825 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.0002028/0.2882, allocations: 188.2 kB / 1.223 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.2882, allocations: 31.62 kB / 1.223 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/0.2883, allocations: 39.47 kB / 1.223 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2883, allocations: 4 kB / 1.223 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2883, allocations: 0 / 1.223 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.2883, allocations: 3.938 kB / 1.223 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.2888, allocations: 0.544 MB / 1.224 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2888, allocations: 0 / 1.224 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2893, allocations: 67.86 kB / 1.224 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2893, allocations: 4 kB / 1.224 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.2894, allocations: 7.984 kB / 1.224 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2894, allocations: 3.938 kB / 1.224 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2894, allocations: 0 / 1.224 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.291, allocations: 0.6564 MB / 1.224 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.2912, allocations: 168.6 kB / 1.225 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.506e-05/0.2913, allocations: 8 kB / 1.225 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.2918, allocations: 47.94 kB / 1.225 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.2918, allocations: 19.97 kB / 1.225 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.2919, allocations: 15.86 kB / 1.225 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003093/0.2922, allocations: 323.1 kB / 1.225 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2922, allocations: 0 / 1.225 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003419/0.2925, allocations: 80.16 kB / 1.225 GB, free: 7.531 MB / 0.9825 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.002024/0.2946, allocations: 1.232 MB / 1.226 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.2963, allocations: 0.7621 MB / 1.227 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2964, allocations: 0 / 1.227 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.2972, allocations: 327.7 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2976, allocations: 85.3 kB / 1.227 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009226/0.3068, allocations: 6.095 MB / 1.233 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3072, allocations: 0.8103 MB / 1.234 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.3076, allocations: 102.2 kB / 1.234 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.3078, allocations: 103.4 kB / 1.234 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.3078, allocations: 0 / 1.234 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/0.3566, allocations: 10.79 MB / 1.245 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.314, allocations: 5.766 kB / 1.245 GB, free: 3.297 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.fmu > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) 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) Reference file matches