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.00112/0.00112, 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.001133/0.001133, allocations: 161 kB / 23.81 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.01 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.372e-06/1.372e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.822e-05, allocations: 11.25 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002536/0.002554, allocations: 2.183 MB / 0.7892 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.004561, allocations: 1.862 MB / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.004639, allocations: 0 / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.005152, allocations: 211.6 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.005244, allocations: 65.52 kB / 0.7913 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.005892, allocations: 425.7 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.006258, allocations: 418.5 kB / 0.7921 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.006348, allocations: 28.56 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.006511, allocations: 203.6 kB / 0.7923 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.006662, allocations: 127.7 kB / 0.7924 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.006704, allocations: 29.59 kB / 0.7925 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.007013, allocations: 259.5 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.007127, allocations: 119.7 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.446e-05/0.007221, allocations: 107.7 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.00763, allocations: 452.2 kB / 0.7934 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007633, allocations: 4 kB / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.007634, allocations: 0 / 0.7934 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.007638, allocations: 0 / 0.7934 GB, free: 6.066 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.0007578/0.008395, allocations: 0.7408 MB / 0.7941 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.008431, allocations: 12.03 kB / 0.7941 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007631/0.009194, allocations: 159.8 kB / 0.7943 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.009485, allocations: 287.3 kB / 0.7945 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.009732, allocations: 124.5 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.009766, allocations: 8.375 kB / 0.7947 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003679/0.01013, allocations: 192.9 kB / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.01014, allocations: 192 / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01016, allocations: 8.125 kB / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.01017, allocations: 0 / 0.7949 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.01036, allocations: 98.92 kB / 0.7949 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.01123, allocations: 0.6609 MB / 0.7956 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.01281, allocations: 417.7 kB / 0.796 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01292, allocations: 59.91 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01294, allocations: 8 kB / 0.7961 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.01317, allocations: 164.8 kB / 0.7962 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01317, allocations: 0 / 0.7962 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004454/0.01361, allocations: 233.4 kB / 0.7964 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.01364, allocations: 59.34 kB / 0.7965 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.01397, allocations: 462.7 kB / 0.7969 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.014, allocations: 33.7 kB / 0.797 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.01412, allocations: 238.8 kB / 0.7972 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.01417, allocations: 47.59 kB / 0.7972 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.603e-05/0.01425, allocations: 59.33 kB / 0.7973 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.0144, allocations: 0.543 MB / 0.7978 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.01457, allocations: 141.6 kB / 0.798 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.01472, allocations: 141.6 kB / 0.7981 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.01495, allocations: 179.6 kB / 0.7983 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01495, allocations: 7.938 kB / 0.7983 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004845/0.01543, allocations: 470.8 kB / 0.7987 GB, free: 352 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.01547, allocations: 41.69 kB / 0.7988 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01547, allocations: 0 / 0.7988 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.01549, allocations: 4 kB / 0.7988 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.01567, allocations: 47.89 kB / 0.7988 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01568, allocations: 4 kB / 0.7988 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.0158, allocations: 27.92 kB / 0.7988 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.01583, allocations: 11.98 kB / 0.7989 GB, free: 208 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.0001206/0.01595, allocations: 172.5 kB / 0.799 GB, free: 24 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.01601, allocations: 39.95 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.01606, allocations: 39.39 kB / 0.7991 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01606, allocations: 4 kB / 0.7991 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01606, allocations: 4 kB / 0.7991 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01607, allocations: 0 / 0.7991 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.01634, allocations: 336.1 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.01634, allocations: 7.688 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.01649, allocations: 47.94 kB / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.01649, allocations: 0 / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.01651, allocations: 11.98 kB / 0.7995 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01652, allocations: 3.984 kB / 0.7995 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01652, allocations: 4 kB / 0.7995 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.01684, allocations: 231.3 kB / 0.7997 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.01695, allocations: 87.58 kB / 0.7998 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.01698, allocations: 4 kB / 0.7998 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01712, allocations: 31.97 kB / 0.7998 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.01718, allocations: 15.97 kB / 0.7998 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.0172, allocations: 15.98 kB / 0.7999 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001758/0.01737, allocations: 283.1 kB / 0.8001 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01737, allocations: 0 / 0.8001 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002286/0.0176, allocations: 83.92 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.0001792/0.01778, allocations: 135.1 kB / 0.8003 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.01816, allocations: 292.6 kB / 0.8006 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01816, allocations: 4 kB / 0.8006 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.01829, allocations: 83.56 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.0002861/0.01858, allocations: 105.3 kB / 0.8008 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.0196, allocations: 0.5457 MB / 0.8013 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.957e-05/0.01967, allocations: 124.1 kB / 0.8015 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001911/0.01986, allocations: 82.25 kB / 0.8015 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.02004, allocations: 36.47 kB / 0.8016 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.02004, allocations: 0 / 0.8016 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.008872/0.02891, allocations: 7.737 MB / 0.8091 GB, free: 5.648 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.318341173231602]