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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001678/0.001678, allocations: 188 kB / 16.25 MB, free: 6.152 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437 MB / 0.71 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 59.91 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7196, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003774/0.7234, allocations: 2.197 MB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002838/0.7263, allocations: 1.827 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.7264, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.7272, allocations: 217 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.7273, allocations: 55.48 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.7284, allocations: 390 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.7289, allocations: 414.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.729, allocations: 44.33 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.7292, allocations: 159.5 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.7294, allocations: 159.4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.7295, allocations: 28 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003694/0.7299, allocations: 231.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.73, allocations: 123.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.7302, allocations: 167.2 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.7308, allocations: 0.592 MB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7309, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7309, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.7309, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 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.001247/0.7321, allocations: 0.6983 MB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.7322, allocations: 16.03 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.7339, allocations: 160.4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.7344, allocations: 366.2 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.7345, allocations: 75.94 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.928e-05/0.7345, allocations: 12.38 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7356, allocations: 441.4 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7356, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.7356, allocations: 7.984 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.7357, allocations: 0 / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.7372, allocations: 0.5854 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.739, allocations: 1.039 MB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004956/0.744, allocations: 0.8455 MB / 1.027 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/0.7448, allocations: 312.6 kB / 1.028 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.7448, allocations: 8 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.7459, allocations: 436.6 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.7459, allocations: 4 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.002495/0.7484, allocations: 0.9148 MB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.7484, allocations: 67.33 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.7489, allocations: 429.6 kB / 1.029 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.749, allocations: 33.7 kB / 1.029 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.7491, allocations: 168 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.7492, allocations: 55.28 kB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.7493, allocations: 53.67 kB / 1.03 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.7495, allocations: 354.7 kB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.7503, allocations: 380.6 kB / 1.03 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.7511, allocations: 373.3 kB / 1.031 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.7526, allocations: 0.597 MB / 1.031 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7526, allocations: 4 kB / 1.031 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001901/0.7545, allocations: 0.889 MB / 1.032 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.7546, allocations: 51.19 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7546, allocations: 0 / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.7546, allocations: 0 / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.7551, allocations: 67.91 kB / 1.032 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.7551, allocations: 0 / 1.032 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.7555, allocations: 43.86 kB / 1.032 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.272e-05/0.7555, allocations: 19.92 kB / 1.032 GB, free: 2.434 MB / 0.7794 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.0002585/0.7558, allocations: 191 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.7559, allocations: 31.62 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.969e-05/0.756, allocations: 35.47 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.756, allocations: 8 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.756, allocations: 0 / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.756, allocations: 3.984 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/0.7566, allocations: 0.5476 MB / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7566, allocations: 0 / 1.033 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.7571, allocations: 71.91 kB / 1.033 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7571, allocations: 7.938 kB / 1.033 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.212e-05/0.7571, allocations: 7.984 kB / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.7571, allocations: 0 / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7571, allocations: 0 / 1.033 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.7587, allocations: 0.6586 MB / 1.034 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.7589, allocations: 160.6 kB / 1.034 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.759, allocations: 11.98 kB / 1.034 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.7594, allocations: 47.94 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.7595, allocations: 15.98 kB / 1.034 GB, free: 0.5508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.7595, allocations: 11.98 kB / 1.034 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000344/0.7599, allocations: 319 kB / 1.034 GB, free: 232 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.392e-06/0.7599, allocations: 0 / 1.034 GB, free: 232 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003855/0.7603, allocations: 92.17 kB / 1.035 GB, free: 140 kB / 0.7794 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.0003194/0.7606, allocations: 143.2 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.7624, allocations: 0.7721 MB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7624, allocations: 8 kB / 1.035 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0007898/0.7632, allocations: 323.7 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.7637, allocations: 72.7 kB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.7654, allocations: 0.8947 MB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.7658, allocations: 0.8102 MB / 1.037 GB, free: 13.06 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.7663, allocations: 102.2 kB / 1.038 GB, free: 12.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.7664, allocations: 35.41 kB / 1.038 GB, free: 12.92 MB / 0.795 GB Notification: Performance of SimCode: time 3.3e-07/0.7664, allocations: 7.938 kB / 1.038 GB, free: 12.91 MB / 0.795 GB Notification: Performance of Templates: time 0.01198/0.7784, allocations: 6.947 MB / 1.044 GB, free: 6.047 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile (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 & ./Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches