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.0009515/0.0009515, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009315/0.0009315, allocations: 169 kB / 24.28 MB, free: 276 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.9116/0.9116, allocations: 177.1 MB / 204.6 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.802/1.802, allocations: 359 MB / 0.6055 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.223e-06/1.223e-06, allocations: 0 / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.051e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.7 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002578/0.002599, allocations: 1.97 MB / 0.789 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.005998, allocations: 3.578 MB / 0.7925 GB, free: 6.152 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.006127, allocations: 3.938 kB / 0.7925 GB, free: 6.148 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.006371, allocations: 51.62 kB / 0.7926 GB, free: 6.098 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.006783, allocations: 136.8 kB / 0.7927 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.006898, allocations: 63.84 kB / 0.7927 GB, free: 5.902 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.007124, allocations: 195.5 kB / 0.7929 GB, free: 5.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.00722, allocations: 14.53 kB / 0.7929 GB, free: 5.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.007415, allocations: 116.2 kB / 0.7931 GB, free: 5.582 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.007539, allocations: 77.44 kB / 0.7931 GB, free: 5.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.007562, allocations: 8 kB / 0.7931 GB, free: 5.5 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.00764, allocations: 31.92 kB / 0.7932 GB, free: 5.469 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.007697, allocations: 39.78 kB / 0.7932 GB, free: 5.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.007752, allocations: 52.34 kB / 0.7933 GB, free: 5.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.00796, allocations: 136.1 kB / 0.7934 GB, free: 5.246 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.007964, allocations: 3.938 kB / 0.7934 GB, free: 5.242 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.007966, allocations: 0.7812 kB / 0.7934 GB, free: 5.242 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.007971, allocations: 0 / 0.7934 GB, free: 5.242 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.0006435/0.008614, allocations: 0.5353 MB / 0.7939 GB, free: 4.672 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.008653, allocations: 9.406 kB / 0.7939 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.008875, allocations: 56.75 kB / 0.794 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.009151, allocations: 201.4 kB / 0.7942 GB, free: 4.391 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.009161, allocations: 384 / 0.7942 GB, free: 4.391 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.009175, allocations: 5.625 kB / 0.7942 GB, free: 4.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.009376, allocations: 106.8 kB / 0.7943 GB, free: 4.273 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.009383, allocations: 5.453 kB / 0.7943 GB, free: 4.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.009399, allocations: 12.12 kB / 0.7943 GB, free: 4.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.009433, allocations: 11.98 kB / 0.7943 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.981e-05/0.009523, allocations: 32.11 kB / 0.7943 GB, free: 4.219 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.009982, allocations: 383.6 kB / 0.7947 GB, free: 3.809 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.01013, allocations: 102.9 kB / 0.7948 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.01021, allocations: 49.98 kB / 0.7948 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.01022, allocations: 0 / 0.7948 GB, free: 3.648 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01025, allocations: 41.64 kB / 0.7949 GB, free: 3.598 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.01025, allocations: 0 / 0.7949 GB, free: 3.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0002897/0.01054, allocations: 129.5 kB / 0.795 GB, free: 3.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.01058, allocations: 59.84 kB / 0.7951 GB, free: 3.395 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.01076, allocations: 280.3 kB / 0.7953 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01077, allocations: 26.23 kB / 0.7954 GB, free: 3.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.01087, allocations: 176.8 kB / 0.7955 GB, free: 2.895 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.01091, allocations: 47.58 kB / 0.7956 GB, free: 2.848 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.01096, allocations: 35.36 kB / 0.7956 GB, free: 2.805 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01109, allocations: 0.5079 MB / 0.7961 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.01115, allocations: 15.98 kB / 0.7961 GB, free: 2.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.824e-05/0.0112, allocations: 22.58 kB / 0.7961 GB, free: 2.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.0113, allocations: 51.69 kB / 0.7962 GB, free: 2.195 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.0113, allocations: 7.938 kB / 0.7962 GB, free: 2.188 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001717/0.01148, allocations: 124.8 kB / 0.7963 GB, free: 2.062 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01149, allocations: 8 kB / 0.7963 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01149, allocations: 0.9062 kB / 0.7963 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01151, allocations: 0 / 0.7963 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01165, allocations: 28.75 kB / 0.7964 GB, free: 2.027 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.01165, allocations: 4 kB / 0.7964 GB, free: 2.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.01171, allocations: 9.281 kB / 0.7964 GB, free: 2.016 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.01172, allocations: 7.984 kB / 0.7964 GB, free: 2.008 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 8.444e-05/0.01181, allocations: 157.4 kB / 0.7965 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.01184, allocations: 31.8 kB / 0.7966 GB, free: 1.812 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.01189, allocations: 25.78 kB / 0.7966 GB, free: 1.785 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01189, allocations: 9.734 kB / 0.7966 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01189, allocations: 0 / 0.7966 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0119, allocations: 0 / 0.7966 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.01207, allocations: 192.5 kB / 0.7968 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01207, allocations: 0 / 0.7968 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.01217, allocations: 32.95 kB / 0.7968 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01217, allocations: 3.984 kB / 0.7968 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.01218, allocations: 1.125 kB / 0.7968 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01218, allocations: 4 kB / 0.7968 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01218, allocations: 0 / 0.7968 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01241, allocations: 268.8 kB / 0.7971 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.01246, allocations: 39.78 kB / 0.7971 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01248, allocations: 1.438 kB / 0.7971 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.01256, allocations: 11.98 kB / 0.7971 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.0126, allocations: 11.98 kB / 0.7971 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.01261, allocations: 5.891 kB / 0.7971 GB, free: 1.168 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001026/0.01272, allocations: 197.1 kB / 0.7973 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01272, allocations: 0 / 0.7973 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001876/0.0129, allocations: 43.94 kB / 0.7974 GB, free: 0.9375 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.0001431/0.01305, allocations: 96.44 kB / 0.7975 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.01322, allocations: 75.58 kB / 0.7975 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01323, allocations: 1.094 kB / 0.7975 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.01329, allocations: 55.59 kB / 0.7976 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.01357, allocations: 41 kB / 0.7976 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007859/0.01436, allocations: 394.4 kB / 0.798 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.0144, allocations: 75.83 kB / 0.7981 GB, free: 160 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000102/0.0145, allocations: 45.08 kB / 0.7981 GB, free: 116 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.01455, allocations: 16.5 kB / 0.7981 GB, free: 100 kB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.01455, allocations: 0 / 0.7981 GB, free: 100 kB / 0.698 GB Notification: Performance of Templates: time 0.004127/0.01868, allocations: 1.903 MB / 0.8 GB, free: 14.24 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.8639651199337095]