Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001892/0.001892, 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.002407/0.002407, allocations: 161.7 kB / 23.55 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.539/1.539, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.723/2.723, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.957e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003927/0.003957, allocations: 1.984 MB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006006/0.009962, allocations: 3.547 MB / 0.7918 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.01013, allocations: 9.5 kB / 0.7918 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.01044, allocations: 51.52 kB / 0.7918 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003974/0.01083, allocations: 104.8 kB / 0.7919 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.01141, allocations: 174.1 kB / 0.7921 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000526/0.01194, allocations: 278.9 kB / 0.7924 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.01209, allocations: 28.58 kB / 0.7924 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.0125, allocations: 153.2 kB / 0.7925 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.0127, allocations: 91.7 kB / 0.7926 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.01275, allocations: 18.06 kB / 0.7926 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.01306, allocations: 111.8 kB / 0.7928 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.01314, allocations: 47.78 kB / 0.7928 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.01327, allocations: 67.81 kB / 0.7929 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.01386, allocations: 307 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.01386, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.01386, allocations: 0.5625 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.01387, allocations: 2.531 kB / 0.7932 GB, free: 5.875 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001466/0.01534, allocations: 0.5294 MB / 0.7937 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.01538, allocations: 12.03 kB / 0.7937 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005266/0.01591, allocations: 77.8 kB / 0.7938 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006127/0.01652, allocations: 233.6 kB / 0.794 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.01654, allocations: 4.375 kB / 0.794 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.01657, allocations: 8.375 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.01714, allocations: 171.2 kB / 0.7942 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.01715, allocations: 192 / 0.7942 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.01717, allocations: 4.938 kB / 0.7942 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.01718, allocations: 0 / 0.7942 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007381/0.01792, allocations: 197.8 kB / 0.7944 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009802/0.0189, allocations: 404.1 kB / 0.7947 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.01933, allocations: 115.7 kB / 0.7948 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.01972, allocations: 107.1 kB / 0.7949 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007571/0.02047, allocations: 106.1 kB / 0.7951 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.02051, allocations: 36.19 kB / 0.7951 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.02051, allocations: 0 / 0.7951 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.001361/0.02188, allocations: 360.5 kB / 0.7954 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.02193, allocations: 51.41 kB / 0.7955 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.02223, allocations: 248.2 kB / 0.7957 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.02226, allocations: 25.7 kB / 0.7957 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.0224, allocations: 148 kB / 0.7959 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.02245, allocations: 31.7 kB / 0.7959 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.02254, allocations: 33.69 kB / 0.7959 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.02274, allocations: 342.7 kB / 0.7963 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.02314, allocations: 99.91 kB / 0.7964 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.02349, allocations: 95.84 kB / 0.7965 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.02422, allocations: 196.7 kB / 0.7966 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02422, allocations: 0 / 0.7966 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008686/0.02509, allocations: 257.3 kB / 0.7969 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.02511, allocations: 8 kB / 0.7969 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.02512, allocations: 0 / 0.7969 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.02514, allocations: 0 / 0.7969 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.02548, allocations: 47.88 kB / 0.7969 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.02549, allocations: 4 kB / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.02574, allocations: 35.91 kB / 0.797 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.02576, allocations: 4 kB / 0.797 GB, free: 1.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 (11): * Single equations (assignments): 11 * 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.0001518/0.02591, allocations: 125.8 kB / 0.7971 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.609e-05/0.02599, allocations: 27.86 kB / 0.7971 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009706/0.02696, allocations: 280 kB / 0.7974 GB, free: 1.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.02696, allocations: 3.984 kB / 0.7974 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02697, allocations: 0 / 0.7974 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02697, allocations: 3.984 kB / 0.7974 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.02731, allocations: 216.9 kB / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.02731, allocations: 7.938 kB / 0.7976 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.02762, allocations: 43.94 kB / 0.7977 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02762, allocations: 0 / 0.7977 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.02764, allocations: 8 kB / 0.7977 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.02765, allocations: 0 / 0.7977 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02765, allocations: 0 / 0.7977 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.02859, allocations: 363.2 kB / 0.798 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.0287, allocations: 35.83 kB / 0.798 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.02874, allocations: 7.984 kB / 0.7981 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.029, allocations: 23.97 kB / 0.7981 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.02909, allocations: 27.84 kB / 0.7981 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.0291, allocations: 0 / 0.7981 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002032/0.02931, allocations: 183.1 kB / 0.7983 GB, free: 424 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.02931, allocations: 0 / 0.7983 GB, free: 424 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003753/0.02968, allocations: 59.83 kB / 0.7983 GB, free: 364 kB / 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 (11): * Single equations (assignments): 11 * 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.0002868/0.02997, allocations: 139.1 kB / 0.7985 GB, free: 212 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008728/0.03084, allocations: 215.9 kB / 0.7987 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03084, allocations: 0 / 0.7987 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.03125, allocations: 107.9 kB / 0.7988 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.03169, allocations: 48.88 kB / 0.7988 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.03272, allocations: 421.5 kB / 0.7992 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.03288, allocations: 129.2 kB / 0.7994 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.03306, allocations: 36.61 kB / 0.7994 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.03315, allocations: 28.48 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.03315, allocations: 0 / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of Templates: time 0.007596/0.04075, allocations: 2.861 MB / 0.8022 GB, free: 12.38 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.771335228928365]