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.0009695/0.0009695, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001003/0.001003, allocations: 169 kB / 23.28 MB, free: 1.223 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.9252/0.9252, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.243/2.243, allocations: 438.1 MB / 0.682 GB, free: 14.2 MB / 0.6511 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.883e-06/1.883e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.604e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.BaseClasses.Examples.CapacityAirSource): time 0.002573/0.002599, allocations: 2.174 MB / 0.8918 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.00471, allocations: 1.836 MB / 0.8936 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.004834, allocations: 7.938 kB / 0.8937 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.005424, allocations: 202.7 kB / 0.8938 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.005547, allocations: 67.42 kB / 0.8939 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008406/0.006388, allocations: 434.8 kB / 0.8943 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.00683, allocations: 414.6 kB / 0.8947 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.006921, allocations: 16.59 kB / 0.8947 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.007173, allocations: 207.6 kB / 0.8949 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.007345, allocations: 131.7 kB / 0.8951 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.007391, allocations: 28 kB / 0.8951 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.007766, allocations: 263.5 kB / 0.8953 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.007901, allocations: 115.7 kB / 0.8954 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.008006, allocations: 123.7 kB / 0.8956 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.008591, allocations: 446.7 kB / 0.896 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008595, allocations: 0 / 0.896 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.613e-06/0.008597, allocations: 0 / 0.896 GB, free: 3.336 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.008603, allocations: 0 / 0.896 GB, free: 3.336 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.0008196/0.009423, allocations: 0.7417 MB / 0.8967 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.00946, allocations: 8.625 kB / 0.8967 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008855/0.01035, allocations: 184.4 kB / 0.8969 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.01063, allocations: 266.9 kB / 0.8972 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.01071, allocations: 127.3 kB / 0.8973 GB, free: 1.926 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.01074, allocations: 12.38 kB / 0.8973 GB, free: 1.914 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.01108, allocations: 186.7 kB / 0.8975 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.01109, allocations: 192 / 0.8975 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.01111, allocations: 8.125 kB / 0.8975 GB, free: 1.715 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.01112, allocations: 4 kB / 0.8975 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.01125, allocations: 67.92 kB / 0.8975 GB, free: 1.645 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.01213, allocations: 0.5894 MB / 0.8981 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.01352, allocations: 406.7 kB / 0.8985 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.01361, allocations: 51.66 kB / 0.8986 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.01363, allocations: 7.938 kB / 0.8986 GB, free: 0.5547 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.01384, allocations: 152.8 kB / 0.8987 GB, free: 400 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.01384, allocations: 0 / 0.8987 GB, free: 400 kB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004082/0.01425, allocations: 225.3 kB / 0.8989 GB, free: 168 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.01428, allocations: 59.34 kB / 0.899 GB, free: 96 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.01457, allocations: 458.6 kB / 0.8994 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.01462, allocations: 37.69 kB / 0.8995 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.01477, allocations: 238.8 kB / 0.8997 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.01482, allocations: 51.62 kB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.01491, allocations: 59.31 kB / 0.8998 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.01507, allocations: 0.5469 MB / 0.9003 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.01522, allocations: 105.6 kB / 0.9004 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.01534, allocations: 111.8 kB / 0.9005 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.01552, allocations: 151.4 kB / 0.9007 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01552, allocations: 0 / 0.9007 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004341/0.01595, allocations: 420.6 kB / 0.9011 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.01599, allocations: 45.69 kB / 0.9011 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.016, allocations: 3.984 kB / 0.9011 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.01601, allocations: 0 / 0.9011 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.01621, allocations: 55.88 kB / 0.9012 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-06/0.01621, allocations: 0 / 0.9012 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.01635, allocations: 23.94 kB / 0.9012 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.01639, allocations: 23.97 kB / 0.9012 GB, free: 13.71 MB / 0.8698 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.0001309/0.01652, allocations: 164.6 kB / 0.9014 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.01657, allocations: 47.7 kB / 0.9014 GB, free: 13.49 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.01662, allocations: 31.41 kB / 0.9015 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01662, allocations: 4 kB / 0.9015 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01662, allocations: 7.922 kB / 0.9015 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01663, allocations: 0 / 0.9015 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/0.01689, allocations: 260.9 kB / 0.9017 GB, free: 13.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.0169, allocations: 4 kB / 0.9017 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.01706, allocations: 55.88 kB / 0.9018 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01707, allocations: 0 / 0.9018 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.01709, allocations: 15.92 kB / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01709, allocations: 0 / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01709, allocations: 0 / 0.9018 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003027/0.01739, allocations: 222.8 kB / 0.902 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.0175, allocations: 91.62 kB / 0.9021 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.01754, allocations: 3.938 kB / 0.9021 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.01768, allocations: 27.97 kB / 0.9021 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.01773, allocations: 19.97 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.01775, allocations: 7.984 kB / 0.9021 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001528/0.0179, allocations: 275 kB / 0.9024 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0179, allocations: 0 / 0.9024 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002498/0.01815, allocations: 75.94 kB / 0.9025 GB, free: 12.36 MB / 0.8698 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.0001844/0.01834, allocations: 131.2 kB / 0.9026 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.01866, allocations: 268.5 kB / 0.9029 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01867, allocations: 0 / 0.9029 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.01878, allocations: 75.56 kB / 0.9029 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.01908, allocations: 112.9 kB / 0.903 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.02021, allocations: 0.5457 MB / 0.9036 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.02029, allocations: 116.3 kB / 0.9037 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002314/0.02052, allocations: 70.28 kB / 0.9037 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.0208, allocations: 166 kB / 0.9039 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of SimCode: time 8.72e-07/0.0208, allocations: 4 kB / 0.9039 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.01199/0.03279, allocations: 8.566 MB / 0.9123 GB, free: 2.391 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.289995384402573]