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.0009572/0.0009572, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001129/0.001129, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9722/0.9722, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.742/1.742, allocations: 359 MB / 0.6055 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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",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.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.435e-05/2.573e-05, allocations: 6.719 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002513/0.002538, allocations: 2.055 MB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.006199, allocations: 3.824 MB / 0.7928 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.006329, allocations: 3.938 kB / 0.7928 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.00659, allocations: 65.2 kB / 0.7929 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.006896, allocations: 100.2 kB / 0.793 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.007361, allocations: 173.9 kB / 0.7932 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003357/0.007696, allocations: 270.9 kB / 0.7934 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.00781, allocations: 32.58 kB / 0.7935 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.00805, allocations: 158.1 kB / 0.7936 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.008161, allocations: 87.72 kB / 0.7937 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.008188, allocations: 16 kB / 0.7937 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.008378, allocations: 107.8 kB / 0.7938 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.008433, allocations: 47.78 kB / 0.7938 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.008505, allocations: 68.53 kB / 0.7939 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.008813, allocations: 259 kB / 0.7942 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.008817, allocations: 0.5312 kB / 0.7942 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008818, allocations: 1.656 kB / 0.7942 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.008824, allocations: 0 / 0.7942 GB, free: 5.605 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.0007091/0.009533, allocations: 0.6021 MB / 0.7948 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.009572, allocations: 15.97 kB / 0.7948 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.009833, allocations: 73.98 kB / 0.7948 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.01016, allocations: 230.4 kB / 0.7951 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.01018, allocations: 9.938 kB / 0.7951 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.01019, allocations: 8.375 kB / 0.7951 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.01046, allocations: 128 kB / 0.7952 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.01047, allocations: 4.125 kB / 0.7952 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.01049, allocations: 8.125 kB / 0.7952 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.0105, allocations: 7.156 kB / 0.7952 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.01061, allocations: 35.97 kB / 0.7953 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.01115, allocations: 435.3 kB / 0.7957 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.01125, allocations: 54.97 kB / 0.7957 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.01131, allocations: 32.17 kB / 0.7957 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.01162, allocations: 87.14 kB / 0.7958 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.01164, allocations: 33.39 kB / 0.7959 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.01165, allocations: 0 / 0.7959 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003301/0.01198, allocations: 133.6 kB / 0.796 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.01201, allocations: 55.91 kB / 0.796 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01218, allocations: 295.9 kB / 0.7963 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.0122, allocations: 29.7 kB / 0.7964 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.263e-05/0.01229, allocations: 198.7 kB / 0.7965 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.01233, allocations: 35.69 kB / 0.7966 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.0124, allocations: 36.3 kB / 0.7966 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.01253, allocations: 0.5078 MB / 0.7971 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.01259, allocations: 20.64 kB / 0.7971 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.01264, allocations: 18.8 kB / 0.7971 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.01275, allocations: 52.33 kB / 0.7972 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01275, allocations: 0 / 0.7972 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001804/0.01293, allocations: 129.3 kB / 0.7973 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.01295, allocations: 5.719 kB / 0.7973 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01295, allocations: 0 / 0.7973 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01297, allocations: 4 kB / 0.7973 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.0131, allocations: 30.28 kB / 0.7974 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.01311, allocations: 4 kB / 0.7974 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.346e-05/0.0132, allocations: 15.98 kB / 0.7974 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.01321, allocations: 7.984 kB / 0.7974 GB, free: 2.121 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.0001095/0.01332, allocations: 165.4 kB / 0.7975 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.01338, allocations: 27.8 kB / 0.7976 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.01366, allocations: 132.5 kB / 0.7977 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01367, allocations: 5.031 kB / 0.7977 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01367, allocations: 0 / 0.7977 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01367, allocations: 0 / 0.7977 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.01391, allocations: 212.4 kB / 0.7979 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01391, allocations: 0 / 0.7979 GB, free: 1.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.01405, allocations: 39.95 kB / 0.7979 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01405, allocations: 0 / 0.7979 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.01407, allocations: 3.984 kB / 0.7979 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01407, allocations: 0 / 0.7979 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.01407, allocations: 7.938 kB / 0.798 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.01436, allocations: 263.7 kB / 0.7982 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.01442, allocations: 39.77 kB / 0.7982 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01445, allocations: 4 kB / 0.7982 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01458, allocations: 19.98 kB / 0.7983 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.01465, allocations: 19.97 kB / 0.7983 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.01466, allocations: 0 / 0.7983 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001318/0.01479, allocations: 211 kB / 0.7985 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01479, allocations: 0 / 0.7985 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003147/0.0151, allocations: 63.81 kB / 0.7985 GB, free: 0.8633 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 (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.0002183/0.01532, allocations: 143 kB / 0.7987 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002124/0.01554, allocations: 67.64 kB / 0.7987 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01554, allocations: 4 kB / 0.7987 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.392e-05/0.01563, allocations: 51.53 kB / 0.7988 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.01598, allocations: 50.44 kB / 0.7988 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.01693, allocations: 395.5 kB / 0.7992 GB, free: 116 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.508e-05/0.01698, allocations: 79.31 kB / 0.7993 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.01712, allocations: 32.62 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.0172, allocations: 24.48 kB / 0.7994 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 6.51e-07/0.0172, allocations: 0 / 0.7994 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.005466/0.02267, allocations: 2.875 MB / 0.8022 GB, free: 13.14 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.030369027983397]