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.001066/0.001066, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009465/0.0009465, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9889/0.9889, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.775/1.775, allocations: 359 MB / 0.6052 GB, free: 11.04 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.423e-06/1.423e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.132e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003272/0.003293, allocations: 2.048 MB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.008283, allocations: 3.833 MB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.008401, allocations: 3.938 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.008697, allocations: 59.45 kB / 0.7929 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.009037, allocations: 105.5 kB / 0.793 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.009491, allocations: 172.8 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.009858, allocations: 270.9 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.009981, allocations: 34.33 kB / 0.7935 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.01026, allocations: 147.6 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.01042, allocations: 96.33 kB / 0.7937 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.01046, allocations: 16 kB / 0.7937 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.01069, allocations: 104.8 kB / 0.7938 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.01076, allocations: 51.77 kB / 0.7939 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.01085, allocations: 65.75 kB / 0.7939 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.01124, allocations: 255 kB / 0.7942 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01125, allocations: 4 kB / 0.7942 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.01125, allocations: 3.938 kB / 0.7942 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.01126, allocations: 0 / 0.7942 GB, free: 5.258 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.0009236/0.01218, allocations: 0.6025 MB / 0.7948 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.01222, allocations: 8.562 kB / 0.7948 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.01256, allocations: 77.95 kB / 0.7948 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.01293, allocations: 234.2 kB / 0.7951 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.01295, allocations: 4.906 kB / 0.7951 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.01297, allocations: 9.688 kB / 0.7951 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.01332, allocations: 134.8 kB / 0.7952 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01333, allocations: 1.344 kB / 0.7952 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.01335, allocations: 8.125 kB / 0.7952 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.01336, allocations: 0 / 0.7952 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.01354, allocations: 42.77 kB / 0.7953 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.01432, allocations: 437.4 kB / 0.7957 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.01446, allocations: 47.05 kB / 0.7957 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.849e-05/0.01456, allocations: 32.2 kB / 0.7957 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004887/0.01505, allocations: 82.55 kB / 0.7958 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.01509, allocations: 49.31 kB / 0.7959 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.0151, allocations: 0 / 0.7959 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0004644/0.01556, allocations: 130.5 kB / 0.796 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.0156, allocations: 54.88 kB / 0.796 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.01587, allocations: 298.3 kB / 0.7963 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.01589, allocations: 29.7 kB / 0.7964 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01602, allocations: 190.7 kB / 0.7965 GB, free: 2.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.125e-05/0.01607, allocations: 43.69 kB / 0.7966 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.01614, allocations: 31.36 kB / 0.7966 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.01631, allocations: 0.5117 MB / 0.7971 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.01639, allocations: 19.92 kB / 0.7971 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.01647, allocations: 24.36 kB / 0.7972 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.01664, allocations: 52.17 kB / 0.7972 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01665, allocations: 1.344 kB / 0.7972 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000286/0.01693, allocations: 117.4 kB / 0.7973 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.01695, allocations: 11.94 kB / 0.7973 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01696, allocations: 0.7188 kB / 0.7973 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.01697, allocations: 0 / 0.7973 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.0172, allocations: 32.62 kB / 0.7974 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.01721, allocations: 2.812 kB / 0.7974 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01733, allocations: 11.98 kB / 0.7974 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.01735, allocations: 7.984 kB / 0.7974 GB, free: 1.777 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.0001188/0.01747, allocations: 172.4 kB / 0.7975 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.01753, allocations: 27.86 kB / 0.7976 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.01788, allocations: 130 kB / 0.7977 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01788, allocations: 3.984 kB / 0.7977 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01789, allocations: 4 kB / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01789, allocations: 0 / 0.7977 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.01827, allocations: 204.4 kB / 0.7979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01827, allocations: 0 / 0.7979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.01852, allocations: 36.89 kB / 0.7979 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.01852, allocations: 1.125 kB / 0.7979 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.01855, allocations: 11.94 kB / 0.7979 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.01855, allocations: 7.984 kB / 0.798 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01855, allocations: 1.094 kB / 0.798 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.019, allocations: 259.7 kB / 0.7982 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.01911, allocations: 43.83 kB / 0.7982 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.01914, allocations: 1.062 kB / 0.7982 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.01923, allocations: 15.98 kB / 0.7983 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.01928, allocations: 16.56 kB / 0.7983 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.01929, allocations: 4.5 kB / 0.7983 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001004/0.01939, allocations: 211 kB / 0.7985 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01939, allocations: 5.344 kB / 0.7985 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002146/0.01961, allocations: 67.81 kB / 0.7986 GB, free: 0.5156 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.0001623/0.01977, allocations: 135.8 kB / 0.7987 GB, free: 384 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.01995, allocations: 72.19 kB / 0.7988 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01995, allocations: 0 / 0.7988 GB, free: 308 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.02002, allocations: 51.75 kB / 0.7988 GB, free: 252 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.02031, allocations: 40.89 kB / 0.7988 GB, free: 204 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.02126, allocations: 403.7 kB / 0.7992 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.02131, allocations: 79.31 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.423e-05/0.02141, allocations: 36.61 kB / 0.7993 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.02147, allocations: 20.48 kB / 0.7994 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.02147, allocations: 0 / 0.7994 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of Templates: time 0.004493/0.02596, allocations: 2.879 MB / 0.8022 GB, free: 12.79 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.25636732717976]