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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001494/0.001494, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9427/0.9427, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.786/1.786, allocations: 359 MB / 0.6052 GB, free: 11.02 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.874e-06/1.874e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.706e-05, allocations: 3.094 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003576/0.003603, allocations: 1.967 MB / 0.789 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004821/0.008424, allocations: 3.574 MB / 0.7925 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.008589, allocations: 0 / 0.7925 GB, free: 5.832 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.008908, allocations: 64 kB / 0.7926 GB, free: 5.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005836/0.009491, allocations: 134 kB / 0.7927 GB, free: 5.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.009659, allocations: 59.84 kB / 0.7927 GB, free: 5.582 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.009943, allocations: 191.1 kB / 0.7929 GB, free: 5.395 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.01005, allocations: 14.41 kB / 0.7929 GB, free: 5.379 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.01032, allocations: 120.1 kB / 0.7931 GB, free: 5.262 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.01048, allocations: 80.59 kB / 0.7931 GB, free: 5.184 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.01051, allocations: 8 kB / 0.7931 GB, free: 5.176 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.91e-05/0.01061, allocations: 29.14 kB / 0.7932 GB, free: 5.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.01068, allocations: 35.86 kB / 0.7932 GB, free: 5.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.01075, allocations: 51.83 kB / 0.7933 GB, free: 5.062 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.01101, allocations: 144.7 kB / 0.7934 GB, free: 4.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01102, allocations: 0 / 0.7934 GB, free: 4.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.01102, allocations: 4 kB / 0.7934 GB, free: 4.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.01103, allocations: 1.75 kB / 0.7934 GB, free: 4.918 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.0008308/0.01186, allocations: 0.5264 MB / 0.7939 GB, free: 4.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.0119, allocations: 9.5 kB / 0.7939 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003/0.0122, allocations: 52.77 kB / 0.794 GB, free: 4.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.01251, allocations: 206.5 kB / 0.7942 GB, free: 4.074 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.01253, allocations: 8.359 kB / 0.7942 GB, free: 4.066 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.01255, allocations: 4.375 kB / 0.7942 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.01281, allocations: 112.3 kB / 0.7943 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.01282, allocations: 4.188 kB / 0.7943 GB, free: 3.941 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.01284, allocations: 4.625 kB / 0.7943 GB, free: 3.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.01288, allocations: 13.94 kB / 0.7943 GB, free: 3.926 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.01301, allocations: 31.97 kB / 0.7943 GB, free: 3.895 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.0136, allocations: 383.6 kB / 0.7947 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/0.01382, allocations: 105.5 kB / 0.7948 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.0139, allocations: 46.3 kB / 0.7948 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.01391, allocations: 0 / 0.7948 GB, free: 3.324 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.01394, allocations: 37.64 kB / 0.7949 GB, free: 3.277 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.01394, allocations: 0 / 0.7949 GB, free: 3.277 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002917/0.01423, allocations: 138.3 kB / 0.795 GB, free: 3.137 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.01426, allocations: 55.41 kB / 0.7951 GB, free: 3.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.01442, allocations: 281.2 kB / 0.7953 GB, free: 2.777 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.01444, allocations: 25.7 kB / 0.7954 GB, free: 2.746 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.453e-05/0.01451, allocations: 170.8 kB / 0.7955 GB, free: 2.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.01477, allocations: 52.86 kB / 0.7956 GB, free: 2.523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.72e-05/0.01484, allocations: 35.36 kB / 0.7956 GB, free: 2.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.015, allocations: 0.5079 MB / 0.7961 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.01507, allocations: 16.83 kB / 0.7961 GB, free: 1.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.168e-05/0.01513, allocations: 19.98 kB / 0.7961 GB, free: 1.926 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.01528, allocations: 60.47 kB / 0.7962 GB, free: 1.867 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01528, allocations: 0 / 0.7962 GB, free: 1.867 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00023/0.01551, allocations: 122.8 kB / 0.7963 GB, free: 1.742 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01553, allocations: 4 kB / 0.7963 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01553, allocations: 0 / 0.7963 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01555, allocations: 0 / 0.7963 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.01575, allocations: 34.81 kB / 0.7964 GB, free: 1.707 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.01575, allocations: 4 kB / 0.7964 GB, free: 1.703 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.835e-05/0.01584, allocations: 4 kB / 0.7964 GB, free: 1.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01586, allocations: 4 kB / 0.7964 GB, free: 1.695 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 0.0001047/0.01596, allocations: 164.5 kB / 0.7965 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.016, allocations: 33.89 kB / 0.7966 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.15e-05/0.01604, allocations: 25.78 kB / 0.7966 GB, free: 1.465 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01605, allocations: 7.922 kB / 0.7966 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01605, allocations: 0 / 0.7966 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01605, allocations: 0 / 0.7966 GB, free: 1.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.01628, allocations: 192.5 kB / 0.7968 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01628, allocations: 0.9688 kB / 0.7968 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.01643, allocations: 27.92 kB / 0.7968 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01643, allocations: 1.125 kB / 0.7968 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.01645, allocations: 11.98 kB / 0.7968 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01645, allocations: 4 kB / 0.7968 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01646, allocations: 1.031 kB / 0.7968 GB, free: 1.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01678, allocations: 267.8 kB / 0.7971 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.798e-05/0.01686, allocations: 37 kB / 0.7971 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.01689, allocations: 8 kB / 0.7971 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.01702, allocations: 7.984 kB / 0.7971 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.01708, allocations: 13.73 kB / 0.7971 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.01709, allocations: 7.969 kB / 0.7971 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002687/0.01736, allocations: 201.1 kB / 0.7973 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.01736, allocations: 0 / 0.7973 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002049/0.01757, allocations: 39.94 kB / 0.7974 GB, free: 0.6094 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.0001564/0.01773, allocations: 96.59 kB / 0.7975 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.01795, allocations: 76.67 kB / 0.7975 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01795, allocations: 0 / 0.7975 GB, free: 440 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.01805, allocations: 59.47 kB / 0.7976 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.01846, allocations: 37.72 kB / 0.7976 GB, free: 344 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.01953, allocations: 390.6 kB / 0.798 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.203e-05/0.01959, allocations: 79.83 kB / 0.7981 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.01974, allocations: 41.09 kB / 0.7981 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/0.01981, allocations: 16.5 kB / 0.7981 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of SimCode: time 1.052e-06/0.01981, allocations: 0 / 0.7981 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.005348/0.02516, allocations: 1.899 MB / 0.8 GB, free: 13.92 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: 5.154115913901478]