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.001581/0.001581, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001803/0.001803, allocations: 173 kB / 23.02 MB, free: 1.547 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.9361/0.9361, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.123/2.123, allocations: 429.5 MB / 0.6732 GB, free: 4.016 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 2.264e-06/2.264e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.721e-05, allocations: 5.719 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003566/0.003603, allocations: 2.192 MB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.006255, allocations: 1.861 MB / 0.8821 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.006397, allocations: 4 kB / 0.8821 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.007148, allocations: 207.9 kB / 0.8823 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.007285, allocations: 69.8 kB / 0.8824 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.008315, allocations: 432.9 kB / 0.8828 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.008863, allocations: 414.6 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.008982, allocations: 24.56 kB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.009251, allocations: 199.6 kB / 0.8834 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.009444, allocations: 131.7 kB / 0.8835 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.009499, allocations: 28 kB / 0.8836 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.009941, allocations: 259.5 kB / 0.8838 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.0101, allocations: 123.7 kB / 0.8839 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01023, allocations: 108.4 kB / 0.884 GB, free: 288 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006371/0.01086, allocations: 454.7 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.01087, allocations: 0.5938 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.272e-06/0.01087, allocations: 0 / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.01088, allocations: 1.531 kB / 0.8845 GB, free: 15.84 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.00102/0.0119, allocations: 0.7421 MB / 0.8852 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.01195, allocations: 8.031 kB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.01295, allocations: 180.4 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.0133, allocations: 278.9 kB / 0.8856 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.01342, allocations: 131.3 kB / 0.8858 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.01346, allocations: 12.38 kB / 0.8858 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.01388, allocations: 194.7 kB / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.01389, allocations: 192 / 0.886 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.01392, allocations: 8.125 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.01394, allocations: 4 kB / 0.886 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.01415, allocations: 91.92 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.01518, allocations: 0.6709 MB / 0.8867 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.01676, allocations: 422.7 kB / 0.8871 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.0169, allocations: 59.66 kB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.01693, allocations: 4 kB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.01723, allocations: 172.8 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.485e-06/0.01723, allocations: 0 / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0005984/0.01783, allocations: 244.4 kB / 0.8876 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.01788, allocations: 59.34 kB / 0.8876 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.01826, allocations: 458.8 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.0183, allocations: 33.7 kB / 0.8881 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.01847, allocations: 242.8 kB / 0.8883 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.01853, allocations: 47.64 kB / 0.8884 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.01863, allocations: 59.33 kB / 0.8884 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.01885, allocations: 0.543 MB / 0.889 GB, free: 11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.01907, allocations: 137.6 kB / 0.8891 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.01924, allocations: 141.6 kB / 0.8892 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.0195, allocations: 195.1 kB / 0.8894 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01951, allocations: 3.938 kB / 0.8894 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005699/0.02008, allocations: 483.2 kB / 0.8899 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.02013, allocations: 37.69 kB / 0.8899 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.02014, allocations: 0 / 0.8899 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.02016, allocations: 0 / 0.8899 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.02037, allocations: 55.88 kB / 0.89 GB, free: 9.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.02037, allocations: 4 kB / 0.89 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.02052, allocations: 27.94 kB / 0.89 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.02056, allocations: 15.98 kB / 0.89 GB, free: 9.875 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.0001722/0.02073, allocations: 173.2 kB / 0.8902 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.02079, allocations: 39.81 kB / 0.8902 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.437e-05/0.02085, allocations: 31.41 kB / 0.8903 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.02085, allocations: 0 / 0.8903 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.02086, allocations: 4 kB / 0.8903 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.02086, allocations: 3.938 kB / 0.8903 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.02121, allocations: 348.1 kB / 0.8906 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.02122, allocations: 3.938 kB / 0.8906 GB, free: 9.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.0214, allocations: 51.88 kB / 0.8906 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.0214, allocations: 4 kB / 0.8907 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.02142, allocations: 7.984 kB / 0.8907 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.02143, allocations: 4 kB / 0.8907 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.02143, allocations: 0 / 0.8907 GB, free: 9.172 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.02182, allocations: 236.1 kB / 0.8909 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.02193, allocations: 91.61 kB / 0.891 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.02198, allocations: 8 kB / 0.891 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.02212, allocations: 23.97 kB / 0.891 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.02219, allocations: 19.91 kB / 0.891 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.02222, allocations: 15.98 kB / 0.891 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002119/0.02243, allocations: 287.1 kB / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.02243, allocations: 0 / 0.8913 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002877/0.02272, allocations: 83.89 kB / 0.8914 GB, free: 8.398 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.0002369/0.02295, allocations: 127.2 kB / 0.8915 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004496/0.0234, allocations: 304.5 kB / 0.8918 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.02341, allocations: 4 kB / 0.8918 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.02355, allocations: 86.95 kB / 0.8919 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.02388, allocations: 105.3 kB / 0.892 GB, free: 7.754 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.02518, allocations: 0.5496 MB / 0.8925 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.837e-05/0.02527, allocations: 120.3 kB / 0.8926 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002456/0.02552, allocations: 86.25 kB / 0.8927 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.02563, allocations: 36.47 kB / 0.8928 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/0.02563, allocations: 3.938 kB / 0.8928 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.01225/0.03789, allocations: 8.436 MB / 0.901 GB, free: 14.57 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.754355584736913]