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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 77.88 kB / 20.66 MB, free: 3.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 165 kB / 24.06 MB, free: 464 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") translateModel(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.5469 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.482e-05, allocations: 6.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002679/0.002704, allocations: 2.163 MB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.004762, allocations: 1.843 MB / 0.8833 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.004861, allocations: 4 kB / 0.8833 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.005412, allocations: 203.7 kB / 0.8835 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.005514, allocations: 70.2 kB / 0.8836 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.006186, allocations: 426.4 kB / 0.884 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.00653, allocations: 418.5 kB / 0.8844 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.006612, allocations: 24.56 kB / 0.8844 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.006787, allocations: 208.4 kB / 0.8846 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.006929, allocations: 131.7 kB / 0.8847 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.006966, allocations: 24.59 kB / 0.8847 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.007321, allocations: 259.5 kB / 0.885 GB, free: 312 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.007431, allocations: 124.9 kB / 0.8851 GB, free: 188 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.007524, allocations: 107.7 kB / 0.8852 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.007982, allocations: 454.6 kB / 0.8856 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.007984, allocations: 1.406 kB / 0.8856 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007985, allocations: 0 / 0.8856 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.00799, allocations: 0 / 0.8856 GB, free: 15.63 MB / 0.8542 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.0008479/0.008838, allocations: 0.746 MB / 0.8864 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.008879, allocations: 8.031 kB / 0.8864 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009298/0.009809, allocations: 176.4 kB / 0.8866 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.01009, allocations: 274.9 kB / 0.8868 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.01019, allocations: 127.3 kB / 0.8869 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.01023, allocations: 12.38 kB / 0.8869 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.01059, allocations: 182.7 kB / 0.8871 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.0106, allocations: 192 / 0.8871 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.01062, allocations: 8.125 kB / 0.8871 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01063, allocations: 4 kB / 0.8871 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.01078, allocations: 71.92 kB / 0.8872 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000809/0.01158, allocations: 0.5895 MB / 0.8878 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.01311, allocations: 402.8 kB / 0.8882 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.01319, allocations: 51.66 kB / 0.8882 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.01336, allocations: 7.938 kB / 0.8882 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.01357, allocations: 156.7 kB / 0.8884 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.01357, allocations: 0 / 0.8884 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004032/0.01397, allocations: 223.7 kB / 0.8886 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.01401, allocations: 63.33 kB / 0.8886 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.01428, allocations: 450.6 kB / 0.8891 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.01431, allocations: 33.7 kB / 0.8891 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01444, allocations: 246.7 kB / 0.8893 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.01449, allocations: 47.62 kB / 0.8894 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/0.01458, allocations: 59.31 kB / 0.8894 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.01474, allocations: 0.5546 MB / 0.89 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.01487, allocations: 105.6 kB / 0.8901 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01499, allocations: 107.8 kB / 0.8902 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.01517, allocations: 149.2 kB / 0.8903 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01518, allocations: 4 kB / 0.8903 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004404/0.01562, allocations: 422.8 kB / 0.8907 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.01565, allocations: 41.69 kB / 0.8908 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01566, allocations: 0 / 0.8908 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.966e-06/0.01567, allocations: 4 kB / 0.8908 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.01586, allocations: 55.88 kB / 0.8908 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01586, allocations: 0 / 0.8908 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.016, allocations: 31.92 kB / 0.8909 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.01603, allocations: 15.92 kB / 0.8909 GB, free: 10 MB / 0.8542 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0001175/0.01614, allocations: 164.6 kB / 0.891 GB, free: 9.832 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.0162, allocations: 39.75 kB / 0.8911 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.01624, allocations: 39.39 kB / 0.8911 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01624, allocations: 4 kB / 0.8911 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01625, allocations: 4 kB / 0.8911 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01625, allocations: 3.938 kB / 0.8911 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.01648, allocations: 276.7 kB / 0.8914 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01648, allocations: 3.984 kB / 0.8914 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.01664, allocations: 43.95 kB / 0.8914 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01664, allocations: 0 / 0.8914 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.01666, allocations: 19.91 kB / 0.8915 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01667, allocations: 0 / 0.8915 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01667, allocations: 4 kB / 0.8915 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.01695, allocations: 220 kB / 0.8917 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.01706, allocations: 79.67 kB / 0.8917 GB, free: 9.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.01709, allocations: 7.938 kB / 0.8917 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.01724, allocations: 27.97 kB / 0.8918 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.01729, allocations: 23.97 kB / 0.8918 GB, free: 9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.0173, allocations: 7.984 kB / 0.8918 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001357/0.01744, allocations: 275 kB / 0.8921 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01744, allocations: 0 / 0.8921 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002279/0.01767, allocations: 83.88 kB / 0.8921 GB, free: 8.645 MB / 0.8542 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0001566/0.01782, allocations: 119.2 kB / 0.8923 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003164/0.01814, allocations: 275.6 kB / 0.8925 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01814, allocations: 0 / 0.8925 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01825, allocations: 87.5 kB / 0.8926 GB, free: 8.141 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.01853, allocations: 97.39 kB / 0.8927 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.01943, allocations: 0.5456 MB / 0.8932 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.374e-05/0.0195, allocations: 112.3 kB / 0.8933 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.0197, allocations: 70.28 kB / 0.8934 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.01994, allocations: 166.1 kB / 0.8936 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.01994, allocations: 0 / 0.8936 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of Templates: time 0.009465/0.02941, allocations: 8.716 MB / 0.9021 GB, free: 14.49 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_BaseClasses_Examples_CapacityAirSource.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.567365312948823]