Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001/0.001, 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.001003/0.001003, allocations: 161.4 kB / 23.81 MB, free: 0.7578 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.975/0.975, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.49e-05, allocations: 3.094 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004638/0.004673, allocations: 2.093 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005314/0.009987, allocations: 4.186 MB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.01015, allocations: 3.938 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000887/0.01104, allocations: 197.8 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.01118, allocations: 65.34 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.01189, allocations: 314.5 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008533/0.01275, allocations: 401.7 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.01287, allocations: 28.58 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.01308, allocations: 151.7 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.01322, allocations: 107.6 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.01325, allocations: 17.78 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.01374, allocations: 319.4 kB / 0.8192 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.01385, allocations: 107.7 kB / 0.8193 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.01394, allocations: 87.77 kB / 0.8194 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.01446, allocations: 0.5022 MB / 0.8199 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.01446, allocations: 0.5312 kB / 0.8199 GB, free: 9.172 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01446, allocations: 5.125 kB / 0.8199 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.01447, allocations: 0 / 0.8199 GB, free: 9.168 MB / 0.7761 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.0008748/0.01534, allocations: 0.7716 MB / 0.8206 GB, free: 8.355 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.01539, allocations: 8.031 kB / 0.8206 GB, free: 8.348 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.01568, allocations: 81.97 kB / 0.8207 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.01605, allocations: 284.2 kB / 0.821 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.01606, allocations: 8.062 kB / 0.821 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.01609, allocations: 12.38 kB / 0.821 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.01633, allocations: 130.8 kB / 0.8211 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.01634, allocations: 192 / 0.8211 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.01636, allocations: 8.125 kB / 0.8211 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.01637, allocations: 7.938 kB / 0.8212 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.01648, allocations: 35.97 kB / 0.8212 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.01711, allocations: 0.4933 MB / 0.8217 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.01722, allocations: 52.08 kB / 0.8217 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.01728, allocations: 31.67 kB / 0.8218 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.01734, allocations: 15.98 kB / 0.8218 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.01736, allocations: 38.45 kB / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.01736, allocations: 0 / 0.8218 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003423/0.0177, allocations: 154.8 kB / 0.822 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01773, allocations: 51.41 kB / 0.822 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.01804, allocations: 438.7 kB / 0.8224 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.01806, allocations: 32.17 kB / 0.8225 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01818, allocations: 234.7 kB / 0.8227 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.01821, allocations: 39.66 kB / 0.8227 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.01827, allocations: 47.34 kB / 0.8228 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.01842, allocations: 0.5352 MB / 0.8233 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.324e-05/0.01851, allocations: 61.69 kB / 0.8233 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.01859, allocations: 67.42 kB / 0.8234 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.01875, allocations: 107.2 kB / 0.8235 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01875, allocations: 0 / 0.8235 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002718/0.01903, allocations: 245.3 kB / 0.8237 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.01906, allocations: 41.69 kB / 0.8238 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01907, allocations: 5.25 kB / 0.8238 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.01908, allocations: 0 / 0.8238 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01924, allocations: 39.95 kB / 0.8238 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.01924, allocations: 4 kB / 0.8238 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.01933, allocations: 23.88 kB / 0.8238 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.01934, allocations: 4 kB / 0.8239 GB, free: 4.875 MB / 0.7761 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001027/0.01945, allocations: 172.4 kB / 0.824 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.01949, allocations: 43.77 kB / 0.8241 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.01975, allocations: 133.6 kB / 0.8242 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01975, allocations: 4 kB / 0.8242 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01976, allocations: 4 kB / 0.8242 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01976, allocations: 0 / 0.8242 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.02001, allocations: 264.3 kB / 0.8244 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.02001, allocations: 7.938 kB / 0.8245 GB, free: 4.211 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.02012, allocations: 35.91 kB / 0.8245 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.02013, allocations: 4 kB / 0.8245 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.02014, allocations: 3.984 kB / 0.8245 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.02015, allocations: 0 / 0.8245 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.02015, allocations: 0 / 0.8245 GB, free: 4.168 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.02039, allocations: 283.7 kB / 0.8248 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.89e-05/0.02047, allocations: 55.72 kB / 0.8248 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.0205, allocations: 4 kB / 0.8248 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.02059, allocations: 11.98 kB / 0.8248 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.02066, allocations: 19.97 kB / 0.8249 GB, free: 3.781 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.02067, allocations: 3.984 kB / 0.8249 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001838/0.02086, allocations: 283.1 kB / 0.8251 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02086, allocations: 0 / 0.8251 GB, free: 3.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003823/0.02124, allocations: 127.7 kB / 0.8252 GB, free: 3.375 MB / 0.7761 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.0002994/0.02154, allocations: 191 kB / 0.8254 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006231/0.02216, allocations: 206.4 kB / 0.8256 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02216, allocations: 0 / 0.8256 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.02224, allocations: 43.61 kB / 0.8257 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.02258, allocations: 77.53 kB / 0.8257 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.0236, allocations: 0.551 MB / 0.8263 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.02367, allocations: 99.89 kB / 0.8264 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.02378, allocations: 45.91 kB / 0.8264 GB, free: 2.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.02385, allocations: 28.48 kB / 0.8264 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of SimCode: time 9.52e-07/0.02385, allocations: 4 kB / 0.8265 GB, free: 2.059 MB / 0.7761 GB Notification: Performance of Templates: time 0.007228/0.03108, allocations: 5.137 MB / 0.8315 GB, free: 13.02 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.49239110108465]