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.002197/0.002197, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002777/0.002777, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.89/2.89, allocations: 359 MB / 0.6048 GB, free: 10.96 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.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.543e-06/1.543e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.798e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004129/0.004157, allocations: 2.028 MB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005983/0.01014, allocations: 3.816 MB / 0.7921 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.01031, allocations: 7.938 kB / 0.7921 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.01061, allocations: 47.58 kB / 0.7921 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.011, allocations: 109.5 kB / 0.7922 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.01153, allocations: 170.1 kB / 0.7924 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.012, allocations: 274.9 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.01213, allocations: 28.58 kB / 0.7927 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.01252, allocations: 151.6 kB / 0.7928 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.0127, allocations: 93.05 kB / 0.7929 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.01275, allocations: 16.56 kB / 0.7929 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.01302, allocations: 111.8 kB / 0.7931 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.01311, allocations: 49.19 kB / 0.7931 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.01322, allocations: 59.83 kB / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.01375, allocations: 314.9 kB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.01376, allocations: 4.562 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.061e-06/0.01376, allocations: 0 / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.01377, allocations: 1.688 kB / 0.7935 GB, free: 5.555 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.001239/0.01501, allocations: 0.6088 MB / 0.7941 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.01504, allocations: 8.562 kB / 0.7941 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004859/0.01553, allocations: 69.75 kB / 0.7941 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.0161, allocations: 234.9 kB / 0.7944 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.01613, allocations: 8.375 kB / 0.7944 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.01615, allocations: 9.75 kB / 0.7944 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.01656, allocations: 139.8 kB / 0.7945 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01657, allocations: 1.344 kB / 0.7945 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.01659, allocations: 4.125 kB / 0.7945 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.0166, allocations: 4 kB / 0.7945 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.01711, allocations: 137.6 kB / 0.7946 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.01828, allocations: 472.6 kB / 0.7951 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.0186, allocations: 94.17 kB / 0.7952 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.01886, allocations: 71.64 kB / 0.7953 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.01949, allocations: 87.33 kB / 0.7953 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.01953, allocations: 41.33 kB / 0.7954 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.01953, allocations: 0 / 0.7954 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000966/0.0205, allocations: 262.7 kB / 0.7956 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.02055, allocations: 59.39 kB / 0.7957 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.0209, allocations: 326.9 kB / 0.796 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.02093, allocations: 26.27 kB / 0.796 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.02109, allocations: 203.8 kB / 0.7962 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.02115, allocations: 39.69 kB / 0.7963 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.02123, allocations: 31.36 kB / 0.7963 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.02153, allocations: 0.5209 MB / 0.7968 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.02179, allocations: 63.95 kB / 0.7969 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.02205, allocations: 64.88 kB / 0.7969 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.02255, allocations: 140.9 kB / 0.7971 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.02255, allocations: 2.188 kB / 0.7971 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006484/0.0232, allocations: 205.4 kB / 0.7972 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.02321, allocations: 8.938 kB / 0.7973 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02322, allocations: 0 / 0.7973 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.02324, allocations: 4 kB / 0.7973 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.02351, allocations: 35.91 kB / 0.7973 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.02352, allocations: 4 kB / 0.7973 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.02369, allocations: 15.94 kB / 0.7973 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.02372, allocations: 7.984 kB / 0.7973 GB, free: 1.426 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.0001649/0.02388, allocations: 173.5 kB / 0.7975 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.02396, allocations: 27.86 kB / 0.7975 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.02469, allocations: 221.5 kB / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.02469, allocations: 1.062 kB / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.02469, allocations: 0 / 0.7977 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.0247, allocations: 3.984 kB / 0.7977 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.02506, allocations: 233.1 kB / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02506, allocations: 0 / 0.798 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.02531, allocations: 36.41 kB / 0.798 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.02531, allocations: 1 kB / 0.798 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.02534, allocations: 11.98 kB / 0.798 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.02534, allocations: 4 kB / 0.798 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02534, allocations: 0 / 0.798 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.02609, allocations: 351.6 kB / 0.7983 GB, free: 324 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.0262, allocations: 31.83 kB / 0.7984 GB, free: 292 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.02624, allocations: 8 kB / 0.7984 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.02643, allocations: 11.98 kB / 0.7984 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.02652, allocations: 23.91 kB / 0.7984 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.02654, allocations: 11.98 kB / 0.7984 GB, free: 236 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002259/0.02676, allocations: 223 kB / 0.7986 GB, free: 16 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02676, allocations: 0 / 0.7986 GB, free: 16 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003645/0.02713, allocations: 67.86 kB / 0.7987 GB, free: 15.95 MB / 0.7605 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.0002654/0.02739, allocations: 135 kB / 0.7988 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006233/0.02802, allocations: 167.9 kB / 0.799 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.02802, allocations: 8 kB / 0.799 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.02832, allocations: 87.62 kB / 0.7991 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.02873, allocations: 52.81 kB / 0.7991 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009577/0.02969, allocations: 419.4 kB / 0.7995 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.02983, allocations: 121.2 kB / 0.7996 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.02999, allocations: 36.61 kB / 0.7997 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.507e-05/0.03009, allocations: 28.48 kB / 0.7997 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.03009, allocations: 0 / 0.7997 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of Templates: time 0.008037/0.03812, allocations: 2.871 MB / 0.8025 GB, free: 12.03 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] 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: 8.153023488004692]