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.001295/0.001295, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.00122/0.00122, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.933/0.933, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.712/1.712, allocations: 359 MB / 0.6055 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.393e-06/1.393e-06, allocations: 0 / 0.7876 GB, free: 11.09 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.279e-05, allocations: 6.312 kB / 0.7876 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002164/0.002176, allocations: 1.954 MB / 0.7895 GB, free: 9.133 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.005121, allocations: 3.547 MB / 0.7929 GB, free: 5.582 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.0052, allocations: 4.906 kB / 0.7929 GB, free: 5.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.005386, allocations: 43.64 kB / 0.793 GB, free: 5.535 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.006006, allocations: 150.4 kB / 0.7931 GB, free: 5.391 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.006132, allocations: 51.86 kB / 0.7932 GB, free: 5.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.006391, allocations: 191 kB / 0.7934 GB, free: 5.152 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.00651, allocations: 17.81 kB / 0.7934 GB, free: 5.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.006751, allocations: 128.3 kB / 0.7935 GB, free: 5.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.006871, allocations: 69.45 kB / 0.7936 GB, free: 4.941 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.006893, allocations: 8 kB / 0.7936 GB, free: 4.934 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.006973, allocations: 23.98 kB / 0.7936 GB, free: 4.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.468e-05/0.007028, allocations: 43.83 kB / 0.7936 GB, free: 4.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.007074, allocations: 53.14 kB / 0.7937 GB, free: 4.816 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.007266, allocations: 143.4 kB / 0.7938 GB, free: 4.676 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007269, allocations: 0 / 0.7938 GB, free: 4.676 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00727, allocations: 0 / 0.7938 GB, free: 4.676 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.007274, allocations: 1.594 kB / 0.7938 GB, free: 4.676 MB / 0.698 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.0005714/0.007846, allocations: 0.5225 MB / 0.7943 GB, free: 4.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.007887, allocations: 13.62 kB / 0.7943 GB, free: 4.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.00808, allocations: 52.77 kB / 0.7944 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.008288, allocations: 200.6 kB / 0.7946 GB, free: 3.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.674e-06/0.008296, allocations: 384 / 0.7946 GB, free: 3.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.008308, allocations: 4.906 kB / 0.7946 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.00848, allocations: 104.4 kB / 0.7947 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.008487, allocations: 192 / 0.7947 GB, free: 3.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.008497, allocations: 4.125 kB / 0.7947 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/0.008526, allocations: 16.64 kB / 0.7947 GB, free: 3.703 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.008584, allocations: 31 kB / 0.7947 GB, free: 3.676 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.008968, allocations: 341.6 kB / 0.7951 GB, free: 3.316 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.009082, allocations: 89.33 kB / 0.7951 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.009131, allocations: 44.8 kB / 0.7952 GB, free: 3.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.009152, allocations: 4.188 kB / 0.7952 GB, free: 3.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.009174, allocations: 42.33 kB / 0.7952 GB, free: 3.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.009175, allocations: 0 / 0.7952 GB, free: 3.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002272/0.009402, allocations: 131 kB / 0.7954 GB, free: 2.984 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.00943, allocations: 51.41 kB / 0.7954 GB, free: 2.922 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.009564, allocations: 268.2 kB / 0.7957 GB, free: 2.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.009581, allocations: 29.7 kB / 0.7957 GB, free: 2.605 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.009654, allocations: 187.5 kB / 0.7959 GB, free: 2.418 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.009689, allocations: 43.62 kB / 0.7959 GB, free: 2.375 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.009735, allocations: 36.3 kB / 0.7959 GB, free: 2.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.009855, allocations: 0.504 MB / 0.7964 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.009892, allocations: 15.98 kB / 0.7965 GB, free: 1.801 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.009921, allocations: 13.33 kB / 0.7965 GB, free: 1.789 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.009997, allocations: 54.92 kB / 0.7965 GB, free: 1.734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.009999, allocations: 0.9688 kB / 0.7965 GB, free: 1.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00013/0.01013, allocations: 109.4 kB / 0.7966 GB, free: 1.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01014, allocations: 6.312 kB / 0.7966 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01015, allocations: 0 / 0.7966 GB, free: 1.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.01016, allocations: 4 kB / 0.7966 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.01028, allocations: 31.91 kB / 0.7967 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.01028, allocations: 0 / 0.7967 GB, free: 1.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.01034, allocations: 19.36 kB / 0.7967 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.01035, allocations: 4 kB / 0.7967 GB, free: 1.562 MB / 0.698 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.906e-05/0.01043, allocations: 168.5 kB / 0.7969 GB, free: 1.387 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.01046, allocations: 27.8 kB / 0.7969 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.0105, allocations: 29.77 kB / 0.7969 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.0105, allocations: 0 / 0.7969 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.01051, allocations: 0 / 0.7969 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01051, allocations: 0 / 0.7969 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.01066, allocations: 157.1 kB / 0.7971 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01066, allocations: 0.75 kB / 0.7971 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.627e-05/0.01075, allocations: 28.47 kB / 0.7971 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01075, allocations: 0 / 0.7971 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.01076, allocations: 8.5 kB / 0.7971 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01076, allocations: 4.562 kB / 0.7971 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01076, allocations: 0 / 0.7971 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.01095, allocations: 261.2 kB / 0.7973 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.01099, allocations: 35.83 kB / 0.7974 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.01101, allocations: 3.938 kB / 0.7974 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.01108, allocations: 8.531 kB / 0.7974 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.01112, allocations: 16.61 kB / 0.7974 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01112, allocations: 4 kB / 0.7974 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.069e-05/0.01121, allocations: 193.8 kB / 0.7976 GB, free: 0.582 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.01121, allocations: 2.031 kB / 0.7976 GB, free: 0.582 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001825/0.01139, allocations: 35.94 kB / 0.7976 GB, free: 0.5469 MB / 0.698 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.000124/0.01151, allocations: 103.2 kB / 0.7977 GB, free: 448 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.01163, allocations: 71.19 kB / 0.7978 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01164, allocations: 3.219 kB / 0.7978 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.635e-05/0.01168, allocations: 47.59 kB / 0.7978 GB, free: 324 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01193, allocations: 40.41 kB / 0.7979 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000683/0.01261, allocations: 386.7 kB / 0.7983 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.134e-05/0.01265, allocations: 75.83 kB / 0.7983 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.334e-05/0.01272, allocations: 17.73 kB / 0.7983 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.393e-05/0.01282, allocations: 107 kB / 0.7984 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.01282, allocations: 0 / 0.7984 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.003922/0.01674, allocations: 2.073 MB / 0.8005 GB, free: 13.64 MB / 0.7136 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: 4.724859953857958]