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.001098/0.001098, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001019/0.001019, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9048/0.9048, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.691/1.691, allocations: 359 MB / 0.6052 GB, free: 11.03 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.633e-06/1.633e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.35e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002337/0.00236, allocations: 1.972 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.005666, allocations: 3.585 MB / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.803e-05/0.005764, allocations: 0 / 0.7925 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.006019, allocations: 55.62 kB / 0.7926 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.006454, allocations: 135.1 kB / 0.7927 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.872e-05/0.006553, allocations: 51.86 kB / 0.7928 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.006773, allocations: 191.8 kB / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.006888, allocations: 23.44 kB / 0.793 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.00709, allocations: 123.6 kB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.007217, allocations: 71.78 kB / 0.7931 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.007241, allocations: 8.781 kB / 0.7932 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.633e-05/0.007317, allocations: 20 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.007374, allocations: 44.44 kB / 0.7932 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.007433, allocations: 55.77 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.007624, allocations: 140.8 kB / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007627, allocations: 0 / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007628, allocations: 0 / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.007633, allocations: 0.5625 kB / 0.7934 GB, free: 6.047 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.0006314/0.008264, allocations: 0.5241 MB / 0.7939 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.008303, allocations: 8.031 kB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.008504, allocations: 58.06 kB / 0.794 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.008724, allocations: 204.2 kB / 0.7942 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.008733, allocations: 1.812 kB / 0.7942 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.008749, allocations: 4.375 kB / 0.7942 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.008952, allocations: 104 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.00896, allocations: 4.172 kB / 0.7943 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.008974, allocations: 8.125 kB / 0.7943 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.009007, allocations: 8.531 kB / 0.7943 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.009095, allocations: 40.41 kB / 0.7943 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.009546, allocations: 384.5 kB / 0.7947 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.00969, allocations: 99.78 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.009763, allocations: 43.64 kB / 0.7948 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.00978, allocations: 4.531 kB / 0.7948 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.009802, allocations: 38.77 kB / 0.7949 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.009804, allocations: 0 / 0.7949 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002801/0.01008, allocations: 140.7 kB / 0.795 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01011, allocations: 52.56 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01027, allocations: 276.3 kB / 0.7953 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.01028, allocations: 25.7 kB / 0.7954 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.01036, allocations: 187.5 kB / 0.7955 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.01039, allocations: 39.64 kB / 0.7956 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.01044, allocations: 40.3 kB / 0.7956 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01057, allocations: 0.5001 MB / 0.7961 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.01061, allocations: 17.23 kB / 0.7961 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-05/0.01066, allocations: 27.98 kB / 0.7961 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.01076, allocations: 51.67 kB / 0.7962 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.01076, allocations: 0.9688 kB / 0.7962 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001554/0.01092, allocations: 125.4 kB / 0.7963 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.01093, allocations: 8.656 kB / 0.7963 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01094, allocations: 4 kB / 0.7963 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01095, allocations: 3.984 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.01108, allocations: 27.92 kB / 0.7964 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01108, allocations: 0 / 0.7964 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.01114, allocations: 19.36 kB / 0.7964 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.01115, allocations: 4 kB / 0.7964 GB, free: 2.82 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 8.025e-05/0.01123, allocations: 164.5 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.01127, allocations: 27.8 kB / 0.7966 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.01131, allocations: 25.77 kB / 0.7966 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01131, allocations: 4 kB / 0.7966 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01131, allocations: 0 / 0.7966 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01132, allocations: 0 / 0.7966 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01147, allocations: 189.4 kB / 0.7968 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01147, allocations: 0 / 0.7968 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.01155, allocations: 36.41 kB / 0.7968 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.01155, allocations: 0 / 0.7968 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01156, allocations: 4.547 kB / 0.7968 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01157, allocations: 0.5625 kB / 0.7968 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01157, allocations: 0 / 0.7968 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.01178, allocations: 270.9 kB / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.01183, allocations: 43.81 kB / 0.7971 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.01185, allocations: 0 / 0.7971 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.01192, allocations: 12.89 kB / 0.7971 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01196, allocations: 7.984 kB / 0.7971 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.01197, allocations: 4.625 kB / 0.7971 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.412e-05/0.01206, allocations: 197.8 kB / 0.7973 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01206, allocations: 0 / 0.7973 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001796/0.01224, allocations: 49.78 kB / 0.7974 GB, free: 1.754 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.0001108/0.01235, allocations: 99.25 kB / 0.7975 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.01251, allocations: 75.58 kB / 0.7975 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01251, allocations: 3.344 kB / 0.7975 GB, free: 1.566 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.105e-05/0.01257, allocations: 46.61 kB / 0.7976 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01282, allocations: 42.53 kB / 0.7976 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.01356, allocations: 386.8 kB / 0.798 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.157e-05/0.01361, allocations: 79.77 kB / 0.7981 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.362e-05/0.01371, allocations: 52.42 kB / 0.7981 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.01376, allocations: 24.42 kB / 0.7981 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01376, allocations: 0 / 0.7981 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of Templates: time 0.01056/0.02432, allocations: 2.032 MB / 0.8001 GB, free: 14.92 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: 4.742706289049238]