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.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.001049/0.001049, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001224/0.001224, allocations: 169 kB / 24.28 MB, free: 276 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 0.9822/0.9822, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.79/1.79, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.098e-05, allocations: 11.75 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003326/0.003357, allocations: 2.187 MB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.005401, allocations: 1.844 MB / 0.791 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.005505, allocations: 4 kB / 0.791 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.006058, allocations: 198.7 kB / 0.7912 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.006158, allocations: 66.48 kB / 0.7913 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.006905, allocations: 435.1 kB / 0.7917 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00037/0.007275, allocations: 410.6 kB / 0.7921 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.397e-05/0.007369, allocations: 24.58 kB / 0.7921 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.007553, allocations: 203.6 kB / 0.7923 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.007708, allocations: 135.7 kB / 0.7924 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.007749, allocations: 28.62 kB / 0.7925 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.008055, allocations: 263.5 kB / 0.7927 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.00817, allocations: 116.4 kB / 0.7928 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.699e-05/0.008267, allocations: 107.7 kB / 0.7929 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.008706, allocations: 451.1 kB / 0.7934 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.00871, allocations: 1.562 kB / 0.7934 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.303e-06/0.008711, allocations: 0 / 0.7934 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.008717, allocations: 0 / 0.7934 GB, free: 6.387 MB / 0.7448 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.0008172/0.009534, allocations: 0.7439 MB / 0.7941 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.009575, allocations: 12.03 kB / 0.7941 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.01039, allocations: 156.7 kB / 0.7942 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.0107, allocations: 278.9 kB / 0.7945 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.0108, allocations: 132.2 kB / 0.7946 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.01084, allocations: 12.31 kB / 0.7946 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.01124, allocations: 190.2 kB / 0.7948 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.01125, allocations: 8.672 kB / 0.7948 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.01127, allocations: 4.125 kB / 0.7948 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01128, allocations: 1.938 kB / 0.7948 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.01148, allocations: 87.84 kB / 0.7949 GB, free: 4.691 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008685/0.01235, allocations: 0.6618 MB / 0.7956 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.01391, allocations: 416.3 kB / 0.796 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.01403, allocations: 59.66 kB / 0.796 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01405, allocations: 4 kB / 0.796 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.01429, allocations: 160.8 kB / 0.7962 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.01429, allocations: 0 / 0.7962 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0005051/0.0148, allocations: 243.8 kB / 0.7964 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.01484, allocations: 59.34 kB / 0.7965 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.01516, allocations: 466.7 kB / 0.7969 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.0152, allocations: 29.7 kB / 0.7969 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.01533, allocations: 238.8 kB / 0.7972 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.01538, allocations: 51.59 kB / 0.7972 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.01547, allocations: 59.33 kB / 0.7973 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.01563, allocations: 0.543 MB / 0.7978 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.01581, allocations: 133.6 kB / 0.7979 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.01597, allocations: 139.8 kB / 0.7981 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.01621, allocations: 189.3 kB / 0.7983 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.01622, allocations: 3.938 kB / 0.7983 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005561/0.01677, allocations: 474.7 kB / 0.7987 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/0.01682, allocations: 45.69 kB / 0.7988 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01682, allocations: 0 / 0.7988 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.01684, allocations: 4 kB / 0.7988 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.01702, allocations: 43.89 kB / 0.7988 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01703, allocations: 4 kB / 0.7988 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01716, allocations: 23.94 kB / 0.7988 GB, free: 0.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.01719, allocations: 19.97 kB / 0.7988 GB, free: 0.5234 MB / 0.7448 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.0001331/0.01732, allocations: 168.5 kB / 0.799 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.01738, allocations: 43.77 kB / 0.799 GB, free: 312 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.01742, allocations: 31.41 kB / 0.7991 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01742, allocations: 0 / 0.7991 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01743, allocations: 0 / 0.7991 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.01743, allocations: 7.984 kB / 0.7991 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.01774, allocations: 336.4 kB / 0.7994 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.01775, allocations: 7.938 kB / 0.7994 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.01791, allocations: 51.89 kB / 0.7995 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01791, allocations: 7.922 kB / 0.7995 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.01793, allocations: 11.98 kB / 0.7995 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01793, allocations: 3.984 kB / 0.7995 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01794, allocations: 0 / 0.7995 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.01829, allocations: 220.2 kB / 0.7997 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.01842, allocations: 95.56 kB / 0.7998 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.01846, allocations: 4 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.01859, allocations: 27.97 kB / 0.7998 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.01866, allocations: 15.97 kB / 0.7998 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01868, allocations: 15.97 kB / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001839/0.01886, allocations: 283.1 kB / 0.8001 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01886, allocations: 3.938 kB / 0.8001 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002603/0.01912, allocations: 87.92 kB / 0.8002 GB, free: 15.06 MB / 0.7605 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.0002206/0.01934, allocations: 127.2 kB / 0.8003 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.01976, allocations: 296.6 kB / 0.8006 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01976, allocations: 4 kB / 0.8006 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.01989, allocations: 86.09 kB / 0.8007 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.02019, allocations: 97.31 kB / 0.8008 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.02131, allocations: 0.5496 MB / 0.8013 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.902e-05/0.02138, allocations: 120.1 kB / 0.8014 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002003/0.02158, allocations: 82.23 kB / 0.8015 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.02167, allocations: 44.42 kB / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/0.02167, allocations: 0 / 0.8016 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.009114/0.03079, allocations: 7.727 MB / 0.8091 GB, free: 5.977 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource.pipe 2>&1) [Timeout 240] 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","",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.274181788088754]