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.007978/0.007978, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001903/0.001903, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.44/2.44, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 60.12 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7688/0.7702, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003794/0.7741, allocations: 2.141 MB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003019/0.7771, allocations: 1.846 MB / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.7774, allocations: 0 / 1.211 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007467/0.7781, allocations: 225 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.7784, allocations: 67.34 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.7796, allocations: 421.9 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006546/0.7803, allocations: 414.7 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.7804, allocations: 40.33 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003301/0.7808, allocations: 163.5 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.7811, allocations: 155.4 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.7812, allocations: 32 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004355/0.7816, allocations: 239.7 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.7818, allocations: 115.7 kB / 1.213 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.782, allocations: 163.2 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008587/0.7829, allocations: 0.5882 MB / 1.214 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.7829, allocations: 3.938 kB / 1.214 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7829, allocations: 4 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.7829, allocations: 0 / 1.214 GB, free: 6.965 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.001354/0.7843, allocations: 0.71 MB / 1.214 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.7843, allocations: 8.031 kB / 1.214 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.7844, allocations: 38.75 kB / 1.214 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.786, allocations: 168.4 kB / 1.215 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.7865, allocations: 362.3 kB / 1.215 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.7866, allocations: 75.94 kB / 1.215 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.7867, allocations: 8.375 kB / 1.215 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009412/0.7876, allocations: 450.5 kB / 1.215 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.7877, allocations: 0 / 1.215 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.7877, allocations: 3.938 kB / 1.215 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.7877, allocations: 4 kB / 1.215 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.7891, allocations: 0.5777 MB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.7909, allocations: 1.039 MB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004583/0.7955, allocations: 0.853 MB / 1.218 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.7962, allocations: 312.6 kB / 1.218 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.7963, allocations: 7.984 kB / 1.218 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009523/0.7972, allocations: 435 kB / 1.219 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 5.33e-06/0.7973, allocations: 3.984 kB / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002322/0.7996, allocations: 0.9237 MB / 1.219 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.7997, allocations: 59.39 kB / 1.22 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.8002, allocations: 425.6 kB / 1.22 GB, free: 340 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.8003, allocations: 37.69 kB / 1.22 GB, free: 296 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.8004, allocations: 172.1 kB / 1.22 GB, free: 120 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.8005, allocations: 43.3 kB / 1.22 GB, free: 76 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.8006, allocations: 65.58 kB / 1.22 GB, free: 4 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8008, allocations: 350.7 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007753/0.8016, allocations: 376.6 kB / 1.221 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.8024, allocations: 374.1 kB / 1.221 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.8037, allocations: 0.6035 MB / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.8037, allocations: 0 / 1.222 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001756/0.8055, allocations: 0.8985 MB / 1.223 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.8056, allocations: 41.69 kB / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.8056, allocations: 0 / 1.223 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8056, allocations: 4 kB / 1.223 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.806, allocations: 59.91 kB / 1.223 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.8061, allocations: 8 kB / 1.223 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.8064, allocations: 43.8 kB / 1.223 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.8065, allocations: 11.98 kB / 1.223 GB, free: 13.22 MB / 0.9512 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.0002421/0.8067, allocations: 189.7 kB / 1.223 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.979e-05/0.8068, allocations: 35.62 kB / 1.223 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.8069, allocations: 43.47 kB / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8069, allocations: 0 / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8069, allocations: 0 / 1.223 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.8069, allocations: 3.938 kB / 1.223 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.8075, allocations: 0.5478 MB / 1.224 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.8075, allocations: 0 / 1.224 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.808, allocations: 63.92 kB / 1.224 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.808, allocations: 3.938 kB / 1.224 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/0.808, allocations: 11.98 kB / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.808, allocations: 0 / 1.224 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.808, allocations: 4 kB / 1.224 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.8095, allocations: 0.6592 MB / 1.224 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.8098, allocations: 164.7 kB / 1.225 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.8098, allocations: 7.984 kB / 1.225 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.8102, allocations: 51.88 kB / 1.225 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.8103, allocations: 15.98 kB / 1.225 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/0.8104, allocations: 19.86 kB / 1.225 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003272/0.8107, allocations: 319.1 kB / 1.225 GB, free: 11 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8107, allocations: 0 / 1.225 GB, free: 11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000359/0.8111, allocations: 80.23 kB / 1.225 GB, free: 10.93 MB / 0.9512 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.001901/0.813, allocations: 1.233 MB / 1.226 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.8146, allocations: 0.7644 MB / 1.227 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.8146, allocations: 0 / 1.227 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.8154, allocations: 327.7 kB / 1.227 GB, free: 8.562 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.8158, allocations: 85.38 kB / 1.227 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.8251, allocations: 6.09 MB / 1.233 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.8256, allocations: 0.8142 MB / 1.234 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.826, allocations: 94.25 kB / 1.234 GB, free: 1.371 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.8262, allocations: 103.4 kB / 1.234 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of SimCode: time 8.02e-07/0.8262, allocations: 0 / 1.234 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.8572, allocations: 10.78 MB / 1.245 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.866, allocations: 8.438 kB / 1.245 GB, free: 6.703 MB / 0.9669 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