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.0009731/0.0009731, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001043/0.001043, allocations: 169.7 kB / 24.87 MB, free: 8.844 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.78/1.78, allocations: 359 MB / 0.6063 GB, free: 10.85 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.583e-06/1.583e-06, allocations: 0 / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.093e-05, allocations: 10.25 kB / 0.7883 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003981/0.004012, allocations: 2.037 MB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.008922, allocations: 3.789 MB / 0.794 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.009095, allocations: 3.938 kB / 0.794 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.009405, allocations: 60.53 kB / 0.7941 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.009772, allocations: 109.2 kB / 0.7942 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004656/0.01024, allocations: 164.9 kB / 0.7943 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.01062, allocations: 275.4 kB / 0.7946 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.01075, allocations: 32.56 kB / 0.7946 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.01106, allocations: 156.7 kB / 0.7948 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.0112, allocations: 92.55 kB / 0.7949 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.01124, allocations: 12.84 kB / 0.7949 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.01147, allocations: 111.8 kB / 0.795 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.01154, allocations: 48.3 kB / 0.795 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.01162, allocations: 55.84 kB / 0.7951 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000389/0.01201, allocations: 264.4 kB / 0.7953 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01202, allocations: 0 / 0.7953 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.273e-06/0.01202, allocations: 0 / 0.7953 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.01203, allocations: 1.281 kB / 0.7953 GB, free: 4.996 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.0008673/0.01289, allocations: 0.5939 MB / 0.7959 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.01294, allocations: 12.03 kB / 0.7959 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.01329, allocations: 74.45 kB / 0.796 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.01357, allocations: 209.9 kB / 0.7962 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01358, allocations: 4.375 kB / 0.7962 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.01361, allocations: 12.38 kB / 0.7962 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.01391, allocations: 121.2 kB / 0.7963 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01392, allocations: 2.406 kB / 0.7963 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01393, allocations: 8.125 kB / 0.7963 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.01394, allocations: 4 kB / 0.7963 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.01405, allocations: 31.95 kB / 0.7964 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.01469, allocations: 395.1 kB / 0.7968 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.0148, allocations: 43.05 kB / 0.7968 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.332e-05/0.01487, allocations: 31.67 kB / 0.7968 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/0.01527, allocations: 85.02 kB / 0.7969 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.0153, allocations: 41.97 kB / 0.7969 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.073e-06/0.0153, allocations: 224 / 0.7969 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.000347/0.01564, allocations: 123.5 kB / 0.7971 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.01568, allocations: 55.41 kB / 0.7971 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.01589, allocations: 298.2 kB / 0.7974 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.01591, allocations: 25.7 kB / 0.7974 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01601, allocations: 195.8 kB / 0.7976 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.01606, allocations: 31.7 kB / 0.7976 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.01613, allocations: 39.33 kB / 0.7977 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.01629, allocations: 0.5124 MB / 0.7982 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.01634, allocations: 13.58 kB / 0.7982 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.0164, allocations: 23.86 kB / 0.7982 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.01652, allocations: 47.61 kB / 0.7983 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01653, allocations: 4 kB / 0.7983 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002188/0.01674, allocations: 101.8 kB / 0.7984 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.01676, allocations: 7.984 kB / 0.7984 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.01677, allocations: 0 / 0.7984 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.01678, allocations: 4 kB / 0.7984 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.01696, allocations: 43.84 kB / 0.7984 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01696, allocations: 0 / 0.7984 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.01707, allocations: 15.94 kB / 0.7984 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.01709, allocations: 8.922 kB / 0.7984 GB, free: 1.641 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.0001055/0.01719, allocations: 160.5 kB / 0.7986 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.01725, allocations: 24.89 kB / 0.7986 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.01753, allocations: 136.5 kB / 0.7987 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01753, allocations: 0 / 0.7987 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.01753, allocations: 3.938 kB / 0.7987 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01754, allocations: 1.062 kB / 0.7988 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.01778, allocations: 161.1 kB / 0.7989 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.01778, allocations: 0 / 0.7989 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.01794, allocations: 40.83 kB / 0.7989 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.01794, allocations: 3.938 kB / 0.7989 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.01796, allocations: 12.48 kB / 0.799 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01796, allocations: 0.6875 kB / 0.799 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01796, allocations: 0 / 0.799 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.01825, allocations: 257 kB / 0.7992 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.01832, allocations: 43.7 kB / 0.7992 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.01836, allocations: 4 kB / 0.7992 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.0185, allocations: 15.98 kB / 0.7993 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.01856, allocations: 19.97 kB / 0.7993 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.01858, allocations: 4 kB / 0.7993 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001219/0.0187, allocations: 199 kB / 0.7995 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0187, allocations: 0 / 0.7995 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003489/0.01905, allocations: 63.81 kB / 0.7995 GB, free: 468 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.0002333/0.01928, allocations: 143 kB / 0.7997 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.01949, allocations: 63.58 kB / 0.7997 GB, free: 248 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01949, allocations: 0 / 0.7997 GB, free: 248 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.01958, allocations: 43.64 kB / 0.7998 GB, free: 200 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01997, allocations: 48.47 kB / 0.7998 GB, free: 148 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.02103, allocations: 403.4 kB / 0.8002 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.02109, allocations: 79.31 kB / 0.8003 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001346/0.02123, allocations: 36.55 kB / 0.8003 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/0.02345, allocations: 98.17 kB / 0.8004 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of SimCode: time 1.453e-06/0.02345, allocations: 0 / 0.8004 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of Templates: time 0.00755/0.031, allocations: 3.228 MB / 0.8036 GB, free: 12.31 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.158753644209355]