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.001024/0.001024, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009586/0.0009586, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.8995/0.8995, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.707/1.707, allocations: 359 MB / 0.6052 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.054e-06/2.054e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.295e-05, allocations: 5.281 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003718/0.003751, allocations: 2.19 MB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002974/0.006724, allocations: 1.855 MB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006852, allocations: 6.719 kB / 0.791 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008457/0.007698, allocations: 202.7 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.007868, allocations: 68.73 kB / 0.7913 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.009056, allocations: 430.3 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000564/0.00962, allocations: 414.6 kB / 0.7921 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.009739, allocations: 28.56 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.01003, allocations: 204.2 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.01026, allocations: 132.4 kB / 0.7925 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.01033, allocations: 28 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.01081, allocations: 260.2 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.01096, allocations: 119.7 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.01111, allocations: 104.7 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006643/0.01177, allocations: 458.6 kB / 0.7934 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.01178, allocations: 1.375 kB / 0.7934 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01178, allocations: 0 / 0.7934 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.01179, allocations: 0 / 0.7934 GB, free: 6.07 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.001149/0.01294, allocations: 0.7361 MB / 0.7941 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.01298, allocations: 12.03 kB / 0.7941 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.0143, allocations: 165.1 kB / 0.7943 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.01474, allocations: 282.9 kB / 0.7945 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.01488, allocations: 123.4 kB / 0.7947 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.01492, allocations: 14.53 kB / 0.7947 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.01549, allocations: 189.7 kB / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.0155, allocations: 192 / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.01554, allocations: 12.11 kB / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01555, allocations: 0 / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.01585, allocations: 98.3 kB / 0.795 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.01721, allocations: 0.6564 MB / 0.7956 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.01978, allocations: 420.5 kB / 0.796 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.01995, allocations: 55.59 kB / 0.7961 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.01998, allocations: 4 kB / 0.7961 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003641/0.02034, allocations: 168.2 kB / 0.7962 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.02034, allocations: 0 / 0.7962 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0007439/0.02109, allocations: 229.4 kB / 0.7964 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.02114, allocations: 67.27 kB / 0.7965 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.02164, allocations: 458.7 kB / 0.7969 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/0.0217, allocations: 37.64 kB / 0.797 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.02189, allocations: 242.8 kB / 0.7972 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.02196, allocations: 51.59 kB / 0.7973 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.02208, allocations: 51.34 kB / 0.7973 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.02226, allocations: 0.547 MB / 0.7978 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.02244, allocations: 133.6 kB / 0.798 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.02259, allocations: 143.8 kB / 0.7981 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.02282, allocations: 181.4 kB / 0.7983 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.02282, allocations: 3.938 kB / 0.7983 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005124/0.02333, allocations: 474.9 kB / 0.7987 GB, free: 360 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.02337, allocations: 45.69 kB / 0.7988 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02338, allocations: 4 kB / 0.7988 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.02339, allocations: 0 / 0.7988 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.02359, allocations: 47.94 kB / 0.7988 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.02359, allocations: 0 / 0.7988 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.02372, allocations: 27.94 kB / 0.7988 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.02375, allocations: 11.98 kB / 0.7989 GB, free: 216 kB / 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.0001239/0.02388, allocations: 176.5 kB / 0.799 GB, free: 28 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.02395, allocations: 43.8 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.02399, allocations: 35.36 kB / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.02399, allocations: 0 / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.024, allocations: 4 kB / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.024, allocations: 0 / 0.7991 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.02429, allocations: 336.4 kB / 0.7994 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.02429, allocations: 3.938 kB / 0.7994 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.02444, allocations: 47.95 kB / 0.7995 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.02445, allocations: 0 / 0.7995 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.02447, allocations: 11.98 kB / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02447, allocations: 3.984 kB / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02447, allocations: 3.938 kB / 0.7995 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.02479, allocations: 232.1 kB / 0.7997 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.02491, allocations: 91.58 kB / 0.7998 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.02495, allocations: 7.984 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.02509, allocations: 19.98 kB / 0.7998 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.02515, allocations: 19.95 kB / 0.7999 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.02517, allocations: 15.98 kB / 0.7999 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001826/0.02535, allocations: 283.1 kB / 0.8001 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02535, allocations: 4 kB / 0.8001 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002478/0.0256, allocations: 79.94 kB / 0.8002 GB, free: 14.75 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.0001993/0.0258, allocations: 139.1 kB / 0.8003 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.02618, allocations: 300.6 kB / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02618, allocations: 0 / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.0263, allocations: 86.11 kB / 0.8007 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.02659, allocations: 95.42 kB / 0.8008 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.02766, allocations: 0.5557 MB / 0.8014 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.614e-05/0.02773, allocations: 120.1 kB / 0.8015 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000194/0.02792, allocations: 78.25 kB / 0.8015 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.02802, allocations: 36.47 kB / 0.8016 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of SimCode: time 6.32e-07/0.02802, allocations: 0 / 0.8016 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of Templates: time 0.01013/0.03815, allocations: 8.383 MB / 0.8098 GB, free: 5.012 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: 4.892769454047084]