Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001031/0.001031, allocations: 93.06 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.001126/0.001126, allocations: 169 kB / 23.02 MB, free: 1.551 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.9269/0.9269, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.204/2.204, allocations: 429.5 MB / 0.6733 GB, free: 4.051 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.1e-06/5.1e-06, allocations: 4.875 kB / 0.8782 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.862e-05/4.372e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003516/0.00356, allocations: 1.948 MB / 0.8801 GB, free: 3.219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004443/0.008003, allocations: 3.734 MB / 0.8837 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.008198, allocations: 7.938 kB / 0.8837 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.009323, allocations: 183.1 kB / 0.8839 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002861/0.009609, allocations: 87.33 kB / 0.884 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.009777, allocations: 55.92 kB / 0.884 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.01033, allocations: 286.9 kB / 0.8843 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.01047, allocations: 17.8 kB / 0.8843 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.01066, allocations: 107.6 kB / 0.8844 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.0108, allocations: 63.88 kB / 0.8845 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.01083, allocations: 11.94 kB / 0.8845 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.01094, allocations: 27.92 kB / 0.8845 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.499e-05/0.01102, allocations: 63.81 kB / 0.8846 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.01109, allocations: 55.8 kB / 0.8846 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.01137, allocations: 155.4 kB / 0.8848 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.01137, allocations: 0 / 0.8848 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.883e-06/0.01138, allocations: 0 / 0.8848 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.01138, allocations: 3.938 kB / 0.8848 GB, free: 14.37 MB / 0.8073 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.0008004/0.01218, allocations: 0.5538 MB / 0.8853 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.01224, allocations: 15.97 kB / 0.8854 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.01276, allocations: 96.69 kB / 0.8854 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.01306, allocations: 200.7 kB / 0.8856 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.01308, allocations: 4.375 kB / 0.8856 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.0131, allocations: 4.375 kB / 0.8856 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.01337, allocations: 110.9 kB / 0.8858 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.01338, allocations: 4.188 kB / 0.8858 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.0134, allocations: 4.125 kB / 0.8858 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.523e-05/0.01345, allocations: 15.92 kB / 0.8858 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.01355, allocations: 43.88 kB / 0.8858 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.0142, allocations: 411.5 kB / 0.8862 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.0144, allocations: 106.9 kB / 0.8863 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/0.0145, allocations: 51.66 kB / 0.8864 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.01452, allocations: 0 / 0.8864 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.01455, allocations: 37.39 kB / 0.8864 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.01455, allocations: 3.938 kB / 0.8864 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0003738/0.01492, allocations: 147.8 kB / 0.8865 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.01497, allocations: 51.41 kB / 0.8866 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.01538, allocations: 314.3 kB / 0.8869 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.0154, allocations: 29.7 kB / 0.8869 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.0155, allocations: 194.8 kB / 0.8871 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.01556, allocations: 51.52 kB / 0.8872 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.01562, allocations: 39.34 kB / 0.8872 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.01577, allocations: 0.5157 MB / 0.8877 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.01584, allocations: 19.98 kB / 0.8877 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.01589, allocations: 23.98 kB / 0.8877 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01602, allocations: 70.05 kB / 0.8878 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.01603, allocations: 0 / 0.8878 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000215/0.01624, allocations: 125.5 kB / 0.8879 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01626, allocations: 4 kB / 0.8879 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01627, allocations: 4 kB / 0.8879 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.01629, allocations: 3.984 kB / 0.8879 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.01648, allocations: 27.92 kB / 0.888 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.01649, allocations: 0 / 0.888 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.794e-05/0.01657, allocations: 19.94 kB / 0.888 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01658, allocations: 4 kB / 0.888 GB, free: 10.9 MB / 0.8073 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 0.0001087/0.01669, allocations: 164.6 kB / 0.8881 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.01673, allocations: 31.8 kB / 0.8882 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/0.01678, allocations: 25.81 kB / 0.8882 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.01679, allocations: 7.984 kB / 0.8882 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.0168, allocations: 0 / 0.8882 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.0168, allocations: 0 / 0.8882 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.01702, allocations: 200.5 kB / 0.8884 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01702, allocations: 0 / 0.8884 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01714, allocations: 39.84 kB / 0.8884 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01715, allocations: 0 / 0.8884 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.01717, allocations: 15.97 kB / 0.8884 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01717, allocations: 4 kB / 0.8885 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01717, allocations: 3.938 kB / 0.8885 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01747, allocations: 275.8 kB / 0.8887 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-05/0.01756, allocations: 35.78 kB / 0.8888 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.01758, allocations: 7.984 kB / 0.8888 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.752e-05/0.01768, allocations: 4 kB / 0.8888 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.01775, allocations: 19.91 kB / 0.8888 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.01776, allocations: 4 kB / 0.8888 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001226/0.01789, allocations: 207 kB / 0.889 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01789, allocations: 4 kB / 0.889 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001955/0.01808, allocations: 43.95 kB / 0.889 GB, free: 9.762 MB / 0.8073 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.0001385/0.01822, allocations: 99.23 kB / 0.8891 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01846, allocations: 86.33 kB / 0.8892 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01846, allocations: 0 / 0.8892 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.01854, allocations: 47.66 kB / 0.8893 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.01892, allocations: 60.89 kB / 0.8893 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.01994, allocations: 427.2 kB / 0.8897 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.706e-05/0.02001, allocations: 83.81 kB / 0.8898 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00016/0.02017, allocations: 57.42 kB / 0.8899 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.663e-05/0.02025, allocations: 20.5 kB / 0.8899 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of SimCode: time 2.314e-06/0.02025, allocations: 0 / 0.8899 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of Templates: time 0.005958/0.02621, allocations: 2.923 MB / 0.8927 GB, free: 5.988 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.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.678770549129695]