Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001587/0.001587, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001451/0.001451, allocations: 170 kB / 23.27 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.9521/0.9521, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.325/2.325, allocations: 438.1 MB / 0.682 GB, free: 14.13 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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.8897 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.293e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003746/0.003779, allocations: 1.917 MB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.00869, allocations: 3.643 MB / 0.8952 GB, free: 4.137 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.008821, allocations: 3.938 kB / 0.8952 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.009709, allocations: 179.2 kB / 0.8954 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.009947, allocations: 79.41 kB / 0.8954 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.0101, allocations: 55.91 kB / 0.8955 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006237/0.01072, allocations: 278.9 kB / 0.8957 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.01085, allocations: 17.8 kB / 0.8958 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.01107, allocations: 103.7 kB / 0.8959 GB, free: 3.43 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.0112, allocations: 71.8 kB / 0.8959 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.01122, allocations: 8 kB / 0.8959 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.01131, allocations: 19.98 kB / 0.896 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.01137, allocations: 63.77 kB / 0.896 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.194e-05/0.01143, allocations: 47.86 kB / 0.8961 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.01165, allocations: 163.3 kB / 0.8962 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.01165, allocations: 0 / 0.8962 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01166, allocations: 0 / 0.8962 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.01166, allocations: 0 / 0.8962 GB, free: 3.062 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005919/0.01225, allocations: 0.5457 MB / 0.8968 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.01229, allocations: 8.625 kB / 0.8968 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.01273, allocations: 96.69 kB / 0.8969 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.01294, allocations: 195.6 kB / 0.897 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.01295, allocations: 8.375 kB / 0.897 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.01297, allocations: 8.312 kB / 0.8971 GB, free: 2.141 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.01315, allocations: 102.9 kB / 0.8972 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.01316, allocations: 192 / 0.8972 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.01317, allocations: 8.109 kB / 0.8972 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.0132, allocations: 11.98 kB / 0.8972 GB, free: 2.012 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-05/0.01327, allocations: 31.97 kB / 0.8972 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.01371, allocations: 360.1 kB / 0.8975 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.01384, allocations: 91.02 kB / 0.8976 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.437e-05/0.01389, allocations: 43.66 kB / 0.8977 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01391, allocations: 3.938 kB / 0.8977 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.01393, allocations: 37.39 kB / 0.8977 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.01394, allocations: 0 / 0.8977 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0002489/0.01419, allocations: 137.3 kB / 0.8978 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.01421, allocations: 55.41 kB / 0.8979 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.01439, allocations: 296.2 kB / 0.8982 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.01442, allocations: 29.7 kB / 0.8982 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.01449, allocations: 190.8 kB / 0.8984 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.01454, allocations: 47.56 kB / 0.8984 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.01459, allocations: 43.34 kB / 0.8985 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.01475, allocations: 0.5118 MB / 0.899 GB, free: 48 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.0148, allocations: 15.98 kB / 0.899 GB, free: 32 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.01483, allocations: 15.98 kB / 0.899 GB, free: 16 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.01494, allocations: 47.67 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01495, allocations: 0 / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001574/0.0151, allocations: 125.4 kB / 0.8992 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01512, allocations: 10.34 kB / 0.8992 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.01513, allocations: 3.984 kB / 0.8992 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.01514, allocations: 0 / 0.8992 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.01529, allocations: 35.97 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.01529, allocations: 0 / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.01536, allocations: 7.984 kB / 0.8992 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01537, allocations: 4 kB / 0.8992 GB, free: 15.78 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 8.552e-05/0.01546, allocations: 160.5 kB / 0.8994 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.01549, allocations: 35.8 kB / 0.8994 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.01553, allocations: 29.77 kB / 0.8994 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01554, allocations: 4 kB / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01554, allocations: 0 / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01555, allocations: 3.984 kB / 0.8995 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.01579, allocations: 165.1 kB / 0.8996 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01579, allocations: 3.938 kB / 0.8996 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.0159, allocations: 31.97 kB / 0.8996 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01591, allocations: 0 / 0.8996 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.01592, allocations: 11.92 kB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01592, allocations: 4 kB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01592, allocations: 0 / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01615, allocations: 273.1 kB / 0.8999 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.01621, allocations: 31.83 kB / 0.9 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01623, allocations: 3.938 kB / 0.9 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.01632, allocations: 11.98 kB / 0.9 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.01636, allocations: 11.98 kB / 0.9 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.01637, allocations: 7.984 kB / 0.9 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.951e-05/0.01646, allocations: 197.1 kB / 0.9002 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/0.01646, allocations: 0 / 0.9002 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001783/0.01664, allocations: 40 kB / 0.9002 GB, free: 14.71 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001322/0.01677, allocations: 99.25 kB / 0.9003 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.01691, allocations: 63.58 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01692, allocations: 4 kB / 0.9004 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.077e-05/0.01698, allocations: 50.97 kB / 0.9004 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01728, allocations: 56.33 kB / 0.9005 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.01801, allocations: 399.5 kB / 0.9009 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.261e-05/0.01807, allocations: 79.81 kB / 0.9009 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.01819, allocations: 29.48 kB / 0.901 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.01832, allocations: 114.2 kB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.683e-06/0.01832, allocations: 4 kB / 0.9011 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.004869/0.02319, allocations: 2.673 MB / 0.9037 GB, free: 11.16 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.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.139513125177473]