Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001758/0.001758, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002212/0.002212, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.745/2.745, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.799e-05, allocations: 3.125 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004407/0.004445, allocations: 1.884 MB / 0.7882 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006438/0.01088, allocations: 3.301 MB / 0.7914 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.01111, allocations: 7.938 kB / 0.7915 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.01148, allocations: 54.75 kB / 0.7915 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.01223, allocations: 127.2 kB / 0.7916 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.01245, allocations: 55.86 kB / 0.7917 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004266/0.01288, allocations: 183.8 kB / 0.7919 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.01301, allocations: 13.81 kB / 0.7919 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.01337, allocations: 124.1 kB / 0.792 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.01358, allocations: 68.33 kB / 0.7921 GB, free: 7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.01362, allocations: 9.375 kB / 0.7921 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.01376, allocations: 27.92 kB / 0.7921 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.01386, allocations: 43.83 kB / 0.7921 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/0.01396, allocations: 45.02 kB / 0.7922 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.01433, allocations: 175.3 kB / 0.7923 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.01434, allocations: 0 / 0.7923 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/0.01434, allocations: 0.9375 kB / 0.7923 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.01435, allocations: 0 / 0.7923 GB, free: 6.707 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.001117/0.01547, allocations: 446.7 kB / 0.7928 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.01552, allocations: 12.03 kB / 0.7928 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.01598, allocations: 62.09 kB / 0.7928 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.01655, allocations: 202.4 kB / 0.793 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.01656, allocations: 384 / 0.793 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.0166, allocations: 9.781 kB / 0.793 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.01702, allocations: 138.6 kB / 0.7932 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.01703, allocations: 192 / 0.7932 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.01706, allocations: 5.812 kB / 0.7932 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.01709, allocations: 12 kB / 0.7932 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.01758, allocations: 145.2 kB / 0.7933 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008144/0.0184, allocations: 361.3 kB / 0.7937 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.01888, allocations: 160.4 kB / 0.7938 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.01916, allocations: 93.72 kB / 0.7939 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01919, allocations: 5.281 kB / 0.7939 GB, free: 5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.01923, allocations: 38.56 kB / 0.794 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.01923, allocations: 0 / 0.794 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0009534/0.02018, allocations: 288.8 kB / 0.7942 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.02023, allocations: 51.41 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002934/0.02053, allocations: 221.2 kB / 0.7945 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.02056, allocations: 25.7 kB / 0.7945 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.02067, allocations: 124.1 kB / 0.7946 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.02073, allocations: 43.55 kB / 0.7947 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.02082, allocations: 37.69 kB / 0.7947 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.02102, allocations: 326.8 kB / 0.795 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.02127, allocations: 75.88 kB / 0.7951 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.02151, allocations: 71.31 kB / 0.7952 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.02201, allocations: 159 kB / 0.7953 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02202, allocations: 0 / 0.7953 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006213/0.02264, allocations: 217.7 kB / 0.7955 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.02266, allocations: 4 kB / 0.7955 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02267, allocations: 0.8438 kB / 0.7955 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.02269, allocations: 4 kB / 0.7955 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.02297, allocations: 36.56 kB / 0.7956 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.02298, allocations: 0.6562 kB / 0.7956 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.02315, allocations: 22.16 kB / 0.7956 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.02318, allocations: 7.984 kB / 0.7956 GB, free: 3.234 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 0.0001511/0.02333, allocations: 121.8 kB / 0.7957 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.02342, allocations: 31.8 kB / 0.7957 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.02348, allocations: 25.77 kB / 0.7958 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.02348, allocations: 10.97 kB / 0.7958 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.02349, allocations: 0 / 0.7958 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.0235, allocations: 4 kB / 0.7958 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.02381, allocations: 185.2 kB / 0.796 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.02381, allocations: 0 / 0.796 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.02405, allocations: 47.83 kB / 0.796 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02405, allocations: 0 / 0.796 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.02407, allocations: 0.9375 kB / 0.796 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.02407, allocations: 4 kB / 0.796 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02407, allocations: 1.125 kB / 0.796 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.02478, allocations: 316.4 kB / 0.7963 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.02488, allocations: 35.77 kB / 0.7963 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.02492, allocations: 8 kB / 0.7964 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.0251, allocations: 11.98 kB / 0.7964 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/0.02517, allocations: 7.984 kB / 0.7964 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.02519, allocations: 7.984 kB / 0.7964 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003128/0.0255, allocations: 161.2 kB / 0.7965 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.0255, allocations: 3.938 kB / 0.7965 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003063/0.02581, allocations: 36 kB / 0.7966 GB, free: 2.188 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.0002231/0.02603, allocations: 107.2 kB / 0.7967 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005783/0.02661, allocations: 159.1 kB / 0.7968 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.02661, allocations: 3.938 kB / 0.7968 GB, free: 1.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.02687, allocations: 83.94 kB / 0.7969 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.02729, allocations: 38 kB / 0.7969 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.0283, allocations: 408.8 kB / 0.7973 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.02845, allocations: 124.1 kB / 0.7975 GB, free: 1.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.02863, allocations: 53.08 kB / 0.7975 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.0287, allocations: 20.5 kB / 0.7975 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.02871, allocations: 0 / 0.7975 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of Templates: time 0.006067/0.03477, allocations: 1.734 MB / 0.7992 GB, free: 15.47 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.968198442948051]