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.000953/0.000953, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009764/0.0009764, allocations: 165 kB / 23.02 MB, free: 1.555 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.9931/0.9931, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.182/2.182, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.833e-06/1.833e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.538e-05, allocations: 2.844 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.003969/0.004005, allocations: 2.201 MB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003146/0.00715, allocations: 1.851 MB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.00731, allocations: 4 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009743/0.008284, allocations: 207.8 kB / 0.8823 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.008476, allocations: 65.36 kB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.009794, allocations: 431.6 kB / 0.8828 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.01032, allocations: 422.5 kB / 0.8832 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.01043, allocations: 20.59 kB / 0.8832 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.01062, allocations: 203.6 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.01077, allocations: 132.8 kB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.01082, allocations: 28 kB / 0.8836 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.0112, allocations: 259.5 kB / 0.8838 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.01133, allocations: 125.2 kB / 0.8839 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.01144, allocations: 107.7 kB / 0.884 GB, free: 312 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.01195, allocations: 450.6 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.01196, allocations: 0 / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.754e-06/0.01196, allocations: 2.469 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.01196, allocations: 0 / 0.8845 GB, free: 15.86 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.0008869/0.01285, allocations: 0.7344 MB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.0129, allocations: 8.031 kB / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.01386, allocations: 178.5 kB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.01417, allocations: 290.8 kB / 0.8856 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.01427, allocations: 123.4 kB / 0.8858 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.01431, allocations: 16.3 kB / 0.8858 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.0147, allocations: 198.7 kB / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01471, allocations: 192 / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.01474, allocations: 8.125 kB / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.01475, allocations: 7.984 kB / 0.886 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.01495, allocations: 91.92 kB / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.01592, allocations: 0.671 MB / 0.8867 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.0175, allocations: 414.7 kB / 0.8871 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.01762, allocations: 63.64 kB / 0.8872 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.01764, allocations: 4 kB / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.01788, allocations: 160.8 kB / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01788, allocations: 3.938 kB / 0.8873 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004863/0.01837, allocations: 248.3 kB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.01849, allocations: 59.34 kB / 0.8876 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.0188, allocations: 454.8 kB / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.01884, allocations: 37.69 kB / 0.8881 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.01896, allocations: 246.7 kB / 0.8883 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.019, allocations: 47.62 kB / 0.8884 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.01909, allocations: 63.33 kB / 0.8884 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.01924, allocations: 0.543 MB / 0.889 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.01942, allocations: 133.6 kB / 0.8891 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.01958, allocations: 143.8 kB / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000237/0.01982, allocations: 191.1 kB / 0.8894 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01982, allocations: 7.938 kB / 0.8894 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005064/0.02033, allocations: 480.7 kB / 0.8899 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.02036, allocations: 41.69 kB / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.02037, allocations: 0 / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.02038, allocations: 0 / 0.8899 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.02059, allocations: 59.88 kB / 0.89 GB, free: 9.941 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.0206, allocations: 4 kB / 0.89 GB, free: 9.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.02074, allocations: 23.92 kB / 0.89 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.02077, allocations: 15.98 kB / 0.89 GB, free: 9.898 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.0001189/0.02089, allocations: 168.5 kB / 0.8902 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.02094, allocations: 39.8 kB / 0.8902 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.02098, allocations: 39.41 kB / 0.8903 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.02099, allocations: 0 / 0.8903 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.02099, allocations: 0 / 0.8903 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.02099, allocations: 4 kB / 0.8903 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.02126, allocations: 340.1 kB / 0.8906 GB, free: 9.273 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02126, allocations: 3.938 kB / 0.8906 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.02143, allocations: 55.88 kB / 0.8906 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02143, allocations: 4 kB / 0.8906 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.02145, allocations: 3.984 kB / 0.8907 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.02145, allocations: 8 kB / 0.8907 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02145, allocations: 0 / 0.8907 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.02179, allocations: 236.1 kB / 0.8909 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.02191, allocations: 91.56 kB / 0.891 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.02194, allocations: 3.984 kB / 0.891 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.02209, allocations: 31.98 kB / 0.891 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.02214, allocations: 15.97 kB / 0.891 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.02217, allocations: 11.97 kB / 0.891 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001782/0.02235, allocations: 291 kB / 0.8913 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02235, allocations: 0 / 0.8913 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002297/0.02258, allocations: 83.89 kB / 0.8914 GB, free: 8.426 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.0001849/0.02276, allocations: 133.9 kB / 0.8915 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004081/0.02317, allocations: 311.2 kB / 0.8918 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02317, allocations: 4 kB / 0.8918 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.02331, allocations: 90.92 kB / 0.8919 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.02363, allocations: 101.9 kB / 0.892 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.0249, allocations: 0.5457 MB / 0.8925 GB, free: 7.195 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.415e-05/0.02498, allocations: 120.2 kB / 0.8926 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.0252, allocations: 82.25 kB / 0.8927 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.02532, allocations: 44.45 kB / 0.8928 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of SimCode: time 1.202e-06/0.02532, allocations: 0 / 0.8928 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of Templates: time 0.009679/0.035, allocations: 7.803 MB / 0.9004 GB, free: 15.22 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.653275838587433]