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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000926/0.000926, allocations: 173 kB / 23.49 MB, free: 1.059 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.9357/0.9357, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.067/2.067, allocations: 429.5 MB / 0.6736 GB, free: 4.008 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 1.453e-06/1.453e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.367e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002535/0.002558, allocations: 2.182 MB / 0.8803 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002126/0.004684, allocations: 1.855 MB / 0.8821 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004791, allocations: 4 kB / 0.8821 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/0.005369, allocations: 200.1 kB / 0.8823 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.005476, allocations: 73.19 kB / 0.8824 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007975/0.006273, allocations: 431.4 kB / 0.8828 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.006678, allocations: 414.6 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.006775, allocations: 20.53 kB / 0.8832 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.006968, allocations: 211.6 kB / 0.8834 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.007122, allocations: 128.4 kB / 0.8835 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.007164, allocations: 28 kB / 0.8836 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.007487, allocations: 256.2 kB / 0.8838 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.007604, allocations: 121.2 kB / 0.8839 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.007705, allocations: 111.7 kB / 0.884 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.008151, allocations: 450.6 kB / 0.8845 GB, free: 228 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008155, allocations: 3.938 kB / 0.8845 GB, free: 224 kB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.008156, allocations: 4 kB / 0.8845 GB, free: 220 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008162, allocations: 0 / 0.8845 GB, free: 220 kB / 0.8386 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.0008137/0.008975, allocations: 0.7383 MB / 0.8852 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.009009, allocations: 8.031 kB / 0.8852 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.01028, allocations: 176.4 kB / 0.8854 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.0106, allocations: 282.9 kB / 0.8856 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.01069, allocations: 127.3 kB / 0.8858 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.01072, allocations: 16.31 kB / 0.8858 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.0111, allocations: 201.2 kB / 0.886 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.01111, allocations: 4.188 kB / 0.886 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.01114, allocations: 4.125 kB / 0.886 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01115, allocations: 4 kB / 0.886 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.01135, allocations: 95.92 kB / 0.8861 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009131/0.01226, allocations: 0.6633 MB / 0.8867 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.0138, allocations: 422.6 kB / 0.8871 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.01391, allocations: 59.66 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01393, allocations: 7.984 kB / 0.8872 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.01418, allocations: 164.3 kB / 0.8873 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.01418, allocations: 4 kB / 0.8873 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004878/0.01467, allocations: 245.3 kB / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.0147, allocations: 59.34 kB / 0.8876 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.01502, allocations: 458.8 kB / 0.8881 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.01505, allocations: 33.7 kB / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.01517, allocations: 238.8 kB / 0.8883 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.682e-05/0.01522, allocations: 55.62 kB / 0.8884 GB, free: 12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.454e-05/0.01531, allocations: 59.33 kB / 0.8884 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.01545, allocations: 0.543 MB / 0.889 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.01563, allocations: 141.5 kB / 0.8891 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.01578, allocations: 133.6 kB / 0.8892 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.01603, allocations: 195.4 kB / 0.8894 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.01604, allocations: 11.86 kB / 0.8894 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005135/0.01655, allocations: 476.7 kB / 0.8899 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.589e-05/0.01659, allocations: 45.69 kB / 0.8899 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01659, allocations: 0 / 0.8899 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.0166, allocations: 0 / 0.8899 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.0168, allocations: 47.95 kB / 0.89 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.0168, allocations: 7.984 kB / 0.89 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01694, allocations: 23.94 kB / 0.89 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.01697, allocations: 11.98 kB / 0.89 GB, free: 10.26 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.000119/0.01709, allocations: 181.5 kB / 0.8902 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.01715, allocations: 39.81 kB / 0.8902 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.01719, allocations: 35.41 kB / 0.8903 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.01719, allocations: 0 / 0.8903 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.01719, allocations: 4 kB / 0.8903 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.0172, allocations: 0 / 0.8903 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.01747, allocations: 340.1 kB / 0.8906 GB, free: 9.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01747, allocations: 3.938 kB / 0.8906 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001619/0.01763, allocations: 55.88 kB / 0.8906 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.01763, allocations: 8 kB / 0.8907 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01765, allocations: 3.984 kB / 0.8907 GB, free: 9.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01765, allocations: 4 kB / 0.8907 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01765, allocations: 0 / 0.8907 GB, free: 9.551 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.01799, allocations: 232.1 kB / 0.8909 GB, free: 9.301 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.0181, allocations: 91.62 kB / 0.891 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.01814, allocations: 7.984 kB / 0.891 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.01828, allocations: 27.98 kB / 0.891 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.01834, allocations: 19.95 kB / 0.891 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.01836, allocations: 15.92 kB / 0.891 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001805/0.01854, allocations: 287.1 kB / 0.8913 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01854, allocations: 0 / 0.8913 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000241/0.01878, allocations: 83.89 kB / 0.8914 GB, free: 8.777 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.0001812/0.01896, allocations: 127.2 kB / 0.8915 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.01936, allocations: 307.1 kB / 0.8918 GB, free: 8.324 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01936, allocations: 3.938 kB / 0.8918 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.01949, allocations: 86.44 kB / 0.8919 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.01979, allocations: 109.2 kB / 0.892 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.0211, allocations: 0.5496 MB / 0.8925 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.02116, allocations: 116.3 kB / 0.8926 GB, free: 7.414 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.02139, allocations: 86.25 kB / 0.8927 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.02149, allocations: 40.47 kB / 0.8928 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of SimCode: time 9.71e-07/0.02149, allocations: 0 / 0.8928 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of Templates: time 0.009154/0.03065, allocations: 7.812 MB / 0.9004 GB, free: 15.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.407981990138069]