Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001419/0.001419, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001523/0.001523, allocations: 164.9 kB / 24.86 MB, free: 8.891 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 1.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.743/1.743, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.261e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00235/0.002373, allocations: 1.967 MB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003377/0.00575, allocations: 3.547 MB / 0.7937 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.005844, allocations: 0 / 0.7937 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.006066, allocations: 55.56 kB / 0.7938 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.006445, allocations: 136.9 kB / 0.7939 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.53e-05/0.00653, allocations: 53.02 kB / 0.7939 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.006723, allocations: 191 kB / 0.7941 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.006813, allocations: 22.28 kB / 0.7941 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.006982, allocations: 120.2 kB / 0.7942 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.007095, allocations: 73.72 kB / 0.7943 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.007114, allocations: 11.94 kB / 0.7943 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.885e-05/0.007183, allocations: 24 kB / 0.7944 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.007243, allocations: 35.84 kB / 0.7944 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.00729, allocations: 55.78 kB / 0.7944 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.007459, allocations: 142 kB / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.007461, allocations: 0 / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.007461, allocations: 0 / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.007466, allocations: 0 / 0.7946 GB, free: 5.793 MB / 0.7448 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.0005454/0.008011, allocations: 0.535 MB / 0.7951 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.008047, allocations: 8.75 kB / 0.7951 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.008243, allocations: 57.28 kB / 0.7952 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.00842, allocations: 192.5 kB / 0.7953 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.008429, allocations: 5.156 kB / 0.7954 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.008441, allocations: 4.375 kB / 0.7954 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.008592, allocations: 96.11 kB / 0.7954 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.0086, allocations: 192 / 0.7954 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.008613, allocations: 12.95 kB / 0.7955 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.008641, allocations: 15.98 kB / 0.7955 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/0.0087, allocations: 29.09 kB / 0.7955 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.009059, allocations: 344.2 kB / 0.7958 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.009169, allocations: 88.27 kB / 0.7959 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.009222, allocations: 39.66 kB / 0.796 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.009237, allocations: 9.531 kB / 0.796 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.009256, allocations: 33.39 kB / 0.796 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.009257, allocations: 0 / 0.796 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002185/0.009475, allocations: 128.5 kB / 0.7961 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.009503, allocations: 55.34 kB / 0.7962 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.009635, allocations: 272.2 kB / 0.7964 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.00965, allocations: 29.7 kB / 0.7965 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.009715, allocations: 178.8 kB / 0.7966 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.009749, allocations: 47.56 kB / 0.7967 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.009794, allocations: 35.36 kB / 0.7967 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.009909, allocations: 0.5079 MB / 0.7972 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.009943, allocations: 17.11 kB / 0.7972 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.926e-05/0.009972, allocations: 15.98 kB / 0.7972 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.102e-05/0.01004, allocations: 42.56 kB / 0.7973 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.01004, allocations: 0 / 0.7973 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001374/0.01018, allocations: 121.2 kB / 0.7974 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.01019, allocations: 6.188 kB / 0.7974 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.0102, allocations: 4 kB / 0.7974 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.405e-06/0.01021, allocations: 0 / 0.7974 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01032, allocations: 31.97 kB / 0.7974 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/0.01032, allocations: 1.344 kB / 0.7974 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.01038, allocations: 15.94 kB / 0.7974 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01039, allocations: 3.984 kB / 0.7975 GB, free: 2.672 MB / 0.7448 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 7.173e-05/0.01046, allocations: 161.7 kB / 0.7976 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.0105, allocations: 27.8 kB / 0.7976 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.18e-05/0.01053, allocations: 26.44 kB / 0.7977 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01053, allocations: 3.984 kB / 0.7977 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.01054, allocations: 8.656 kB / 0.7977 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01054, allocations: 0 / 0.7977 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01068, allocations: 160 kB / 0.7978 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01068, allocations: 0 / 0.7978 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.01076, allocations: 27.97 kB / 0.7978 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01077, allocations: 0 / 0.7978 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01078, allocations: 11.94 kB / 0.7979 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01078, allocations: 3.984 kB / 0.7979 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.01078, allocations: 0 / 0.7979 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.01096, allocations: 257.7 kB / 0.7981 GB, free: 1.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.011, allocations: 35.88 kB / 0.7981 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01102, allocations: 3.938 kB / 0.7981 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.01109, allocations: 11.97 kB / 0.7982 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.01113, allocations: 12.92 kB / 0.7982 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01113, allocations: 4 kB / 0.7982 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.01121, allocations: 189.1 kB / 0.7984 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01121, allocations: 1.125 kB / 0.7984 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001775/0.01139, allocations: 43.89 kB / 0.7984 GB, free: 1.66 MB / 0.7448 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.0001101/0.0115, allocations: 111.2 kB / 0.7985 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.01202, allocations: 68.56 kB / 0.7986 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01202, allocations: 0 / 0.7986 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/0.01208, allocations: 43.61 kB / 0.7986 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.01231, allocations: 31.47 kB / 0.7986 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000599/0.01291, allocations: 374.8 kB / 0.799 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01295, allocations: 79.83 kB / 0.7991 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.621e-05/0.01302, allocations: 25.12 kB / 0.7991 GB, free: 0.875 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.01311, allocations: 98.17 kB / 0.7992 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01311, allocations: 0 / 0.7992 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of Templates: time 0.003639/0.01675, allocations: 2.113 MB / 0.8013 GB, free: 14.71 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.075389144942164]