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.002448/0.002448, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.003303/0.003303, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.639/1.639, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.84/2.84, 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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.266e-05/3.42e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003743/0.003777, allocations: 1.941 MB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005585/0.009362, allocations: 3.573 MB / 0.7918 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.009479, allocations: 4 kB / 0.7918 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.009757, allocations: 51.56 kB / 0.7918 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004941/0.01025, allocations: 131.2 kB / 0.7919 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.01042, allocations: 64.41 kB / 0.792 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.01072, allocations: 187.1 kB / 0.7922 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.01082, allocations: 14.5 kB / 0.7922 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.01108, allocations: 120.2 kB / 0.7923 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.01125, allocations: 72.88 kB / 0.7924 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.664e-05/0.0113, allocations: 8 kB / 0.7924 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.01141, allocations: 35.86 kB / 0.7924 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.172e-05/0.01149, allocations: 40.38 kB / 0.7925 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.01158, allocations: 53.12 kB / 0.7925 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.01188, allocations: 183.3 kB / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01189, allocations: 0 / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01189, allocations: 1.094 kB / 0.7927 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.01189, allocations: 0 / 0.7927 GB, free: 6.355 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.001022/0.01292, allocations: 0.5351 MB / 0.7932 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01296, allocations: 8.938 kB / 0.7932 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.01335, allocations: 53.8 kB / 0.7933 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.01374, allocations: 201.9 kB / 0.7935 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.01376, allocations: 8.359 kB / 0.7935 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.01378, allocations: 4.375 kB / 0.7935 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.01407, allocations: 100.5 kB / 0.7936 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.01408, allocations: 192 / 0.7936 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.0141, allocations: 7.031 kB / 0.7936 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.01413, allocations: 15.98 kB / 0.7936 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.01447, allocations: 83.86 kB / 0.7937 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007811/0.01525, allocations: 407.5 kB / 0.7941 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.0156, allocations: 124.4 kB / 0.7942 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/0.01579, allocations: 60.28 kB / 0.7942 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.01581, allocations: 4.562 kB / 0.7942 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.01585, allocations: 41.39 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.01585, allocations: 0.5625 kB / 0.7943 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0006797/0.01653, allocations: 201.8 kB / 0.7945 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.01658, allocations: 59.34 kB / 0.7945 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.0169, allocations: 301.2 kB / 0.7948 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.01693, allocations: 29.7 kB / 0.7948 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.01709, allocations: 184.5 kB / 0.795 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.01715, allocations: 47.58 kB / 0.7951 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/0.01723, allocations: 39.36 kB / 0.7951 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000299/0.01753, allocations: 0.5079 MB / 0.7956 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.01769, allocations: 40.78 kB / 0.7956 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.01784, allocations: 36.91 kB / 0.7957 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.01818, allocations: 106.4 kB / 0.7958 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01818, allocations: 0 / 0.7958 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004253/0.01861, allocations: 162 kB / 0.7959 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.01862, allocations: 4 kB / 0.7959 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.01862, allocations: 4 kB / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01863, allocations: 0 / 0.7959 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.01887, allocations: 31.97 kB / 0.796 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01887, allocations: 0 / 0.796 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01902, allocations: 8 kB / 0.796 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.01903, allocations: 3.984 kB / 0.796 GB, free: 2.805 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.0001513/0.01919, allocations: 169.5 kB / 0.7961 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.01925, allocations: 35.73 kB / 0.7962 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.01932, allocations: 26.8 kB / 0.7962 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01933, allocations: 7.984 kB / 0.7962 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01933, allocations: 0 / 0.7962 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01933, allocations: 1.125 kB / 0.7962 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.01963, allocations: 204.5 kB / 0.7964 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.01963, allocations: 4 kB / 0.7964 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.01983, allocations: 29.05 kB / 0.7964 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01984, allocations: 3.984 kB / 0.7964 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.01985, allocations: 4.969 kB / 0.7964 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01985, allocations: 0 / 0.7964 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01986, allocations: 0 / 0.7964 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.0204, allocations: 319.8 kB / 0.7967 GB, free: 1.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.856e-05/0.0205, allocations: 37.2 kB / 0.7968 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.02054, allocations: 4 kB / 0.7968 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.0207, allocations: 7.984 kB / 0.7968 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.02077, allocations: 17.05 kB / 0.7968 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.02079, allocations: 7.984 kB / 0.7968 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004512/0.02124, allocations: 213.1 kB / 0.797 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02124, allocations: 1.094 kB / 0.797 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002775/0.02152, allocations: 43.89 kB / 0.7971 GB, free: 1.645 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.0001915/0.02171, allocations: 103.9 kB / 0.7972 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.02213, allocations: 116.9 kB / 0.7973 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.02213, allocations: 4 kB / 0.7973 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.02233, allocations: 75.59 kB / 0.7974 GB, free: 1.332 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.0227, allocations: 37.95 kB / 0.7974 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.02354, allocations: 386.6 kB / 0.7978 GB, free: 0.8867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.02368, allocations: 116.1 kB / 0.7979 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.02385, allocations: 41.09 kB / 0.7979 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.02392, allocations: 28.48 kB / 0.7979 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.02392, allocations: 0 / 0.7979 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of Templates: time 0.006169/0.03009, allocations: 1.889 MB / 0.7998 GB, free: 14.85 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 8.074790486018173]