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.0009538/0.0009538, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.0009757/0.0009757, allocations: 181 kB / 24.09 MB, free: 420 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.9517/0.9517, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.684/1.684, allocations: 359 MB / 0.6055 GB, free: 10.88 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 1.593e-06/1.593e-06, allocations: 0 / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.717e-05, allocations: 3.312 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002463/0.002491, allocations: 2.161 MB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.004622, allocations: 1.828 MB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.004749, allocations: 1.5 kB / 0.7914 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000604/0.005353, allocations: 206.6 kB / 0.7916 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.005598, allocations: 67.66 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000883/0.006481, allocations: 433.1 kB / 0.7921 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.00688, allocations: 414.6 kB / 0.7925 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.669e-05/0.006957, allocations: 24.58 kB / 0.7925 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.007179, allocations: 204.2 kB / 0.7927 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.007315, allocations: 136.6 kB / 0.7929 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.88e-05/0.007354, allocations: 28 kB / 0.7929 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.007667, allocations: 259.5 kB / 0.7931 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.007771, allocations: 121.3 kB / 0.7933 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.007859, allocations: 103.7 kB / 0.7934 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.008291, allocations: 458.6 kB / 0.7938 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.008295, allocations: 0 / 0.7938 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.008296, allocations: 2.125 kB / 0.7938 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.008301, allocations: 4 kB / 0.7938 GB, free: 5.793 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.0006793/0.00898, allocations: 0.7343 MB / 0.7945 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.009012, allocations: 12.56 kB / 0.7945 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.009705, allocations: 161.1 kB / 0.7947 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.009934, allocations: 270.9 kB / 0.7949 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.01001, allocations: 128.5 kB / 0.7951 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.01003, allocations: 8.375 kB / 0.7951 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.01058, allocations: 181.8 kB / 0.7952 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.01059, allocations: 1.094 kB / 0.7952 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.01061, allocations: 8.125 kB / 0.7953 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.01062, allocations: 4.844 kB / 0.7953 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01074, allocations: 79.17 kB / 0.7953 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.01144, allocations: 0.5806 MB / 0.7959 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.01275, allocations: 401.1 kB / 0.7963 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.01283, allocations: 47.66 kB / 0.7963 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.01285, allocations: 15.88 kB / 0.7963 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.01305, allocations: 149.1 kB / 0.7965 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.01305, allocations: 0 / 0.7965 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000343/0.01339, allocations: 211.9 kB / 0.7967 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.01342, allocations: 59.34 kB / 0.7967 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.01368, allocations: 454.5 kB / 0.7972 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.01371, allocations: 29.7 kB / 0.7972 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.01382, allocations: 246.8 kB / 0.7974 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.01388, allocations: 47.58 kB / 0.7975 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.01395, allocations: 63.31 kB / 0.7975 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.0141, allocations: 0.5469 MB / 0.7981 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.01422, allocations: 97.64 kB / 0.7982 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.01432, allocations: 109.6 kB / 0.7983 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.01449, allocations: 163.5 kB / 0.7984 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01449, allocations: 0 / 0.7984 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003966/0.01489, allocations: 408.5 kB / 0.7988 GB, free: 432 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.01492, allocations: 45.69 kB / 0.7989 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01492, allocations: 0 / 0.7989 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.01493, allocations: 0 / 0.7989 GB, free: 380 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.0151, allocations: 47.95 kB / 0.7989 GB, free: 332 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.0151, allocations: 7.922 kB / 0.7989 GB, free: 324 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.01522, allocations: 27.94 kB / 0.7989 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.01524, allocations: 11.97 kB / 0.799 GB, free: 284 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.0001084/0.01535, allocations: 164.6 kB / 0.7991 GB, free: 108 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/0.0154, allocations: 47.7 kB / 0.7992 GB, free: 60 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.01544, allocations: 39.41 kB / 0.7992 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01544, allocations: 0 / 0.7992 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01544, allocations: 4 kB / 0.7992 GB, free: 16 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01545, allocations: 3.984 kB / 0.7992 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.01568, allocations: 268.7 kB / 0.7995 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01569, allocations: 0 / 0.7995 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.01583, allocations: 51.89 kB / 0.7995 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01583, allocations: 0 / 0.7995 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01584, allocations: 15.92 kB / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01585, allocations: 0 / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01585, allocations: 0 / 0.7995 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.01611, allocations: 216.1 kB / 0.7997 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.956e-05/0.01621, allocations: 83.62 kB / 0.7998 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.01624, allocations: 11.94 kB / 0.7998 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.01637, allocations: 31.97 kB / 0.7999 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.01641, allocations: 15.97 kB / 0.7999 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.01643, allocations: 7.984 kB / 0.7999 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001328/0.01656, allocations: 271 kB / 0.8001 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01656, allocations: 0 / 0.8001 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002252/0.01679, allocations: 79.94 kB / 0.8002 GB, free: 14.93 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.0001709/0.01696, allocations: 139.1 kB / 0.8003 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.01724, allocations: 259.2 kB / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01724, allocations: 0 / 0.8006 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.01734, allocations: 78.14 kB / 0.8007 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.0176, allocations: 103.1 kB / 0.8008 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.01848, allocations: 0.5447 MB / 0.8013 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.484e-05/0.01854, allocations: 124.1 kB / 0.8014 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.01871, allocations: 66.28 kB / 0.8015 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.01894, allocations: 166.1 kB / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.01894, allocations: 0 / 0.8016 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of Templates: time 0.009954/0.0289, allocations: 8.505 MB / 0.8099 GB, free: 5.039 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.8331776461564]