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.001474/0.001474, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001859/0.001859, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9281/0.9281, allocations: 177.2 MB / 204.2 MB, free: 5.602 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.77/1.77, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.873e-06/1.873e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.343e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002963/0.002987, allocations: 2.103 MB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.007188, allocations: 4.187 MB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.007315, allocations: 0 / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.00812, allocations: 202.2 kB / 0.8179 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.008228, allocations: 61.28 kB / 0.8179 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.008776, allocations: 313.2 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.009297, allocations: 409.2 kB / 0.8186 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.009401, allocations: 28.58 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.00958, allocations: 157.1 kB / 0.8188 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.009719, allocations: 103.7 kB / 0.8189 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.009759, allocations: 17.03 kB / 0.8189 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.01047, allocations: 315.4 kB / 0.8192 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-05/0.01056, allocations: 99.69 kB / 0.8193 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.01064, allocations: 93.78 kB / 0.8194 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004652/0.01111, allocations: 0.5022 MB / 0.8199 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.01111, allocations: 0 / 0.8199 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01111, allocations: 0 / 0.8199 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.01112, allocations: 0 / 0.8199 GB, free: 9.211 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.0008205/0.01194, allocations: 0.7634 MB / 0.8206 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.01198, allocations: 12.03 kB / 0.8206 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.01224, allocations: 85.64 kB / 0.8207 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.0125, allocations: 252.8 kB / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.01252, allocations: 8.375 kB / 0.821 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.01253, allocations: 8.312 kB / 0.821 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.01277, allocations: 138.8 kB / 0.8211 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.01278, allocations: 192 / 0.8211 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.01279, allocations: 4.781 kB / 0.8211 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.0128, allocations: 4 kB / 0.8211 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.938e-05/0.0129, allocations: 43.22 kB / 0.8212 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.01347, allocations: 0.4915 MB / 0.8216 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.984e-05/0.01356, allocations: 51.05 kB / 0.8217 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.01362, allocations: 33.98 kB / 0.8217 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.01366, allocations: 19.98 kB / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.01368, allocations: 37.39 kB / 0.8218 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.01368, allocations: 0 / 0.8218 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0003015/0.01399, allocations: 149.7 kB / 0.8219 GB, free: 6.996 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.01402, allocations: 51.41 kB / 0.822 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.0143, allocations: 443.6 kB / 0.8224 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.01432, allocations: 25.7 kB / 0.8224 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.01446, allocations: 239.8 kB / 0.8226 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.0145, allocations: 39.69 kB / 0.8227 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.01456, allocations: 51.3 kB / 0.8227 GB, free: 6.117 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.01472, allocations: 0.5323 MB / 0.8233 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.01481, allocations: 61.69 kB / 0.8233 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.01488, allocations: 66.73 kB / 0.8234 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.01501, allocations: 115 kB / 0.8235 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01502, allocations: 0 / 0.8235 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002421/0.01526, allocations: 239.6 kB / 0.8237 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.01529, allocations: 45.69 kB / 0.8238 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.0153, allocations: 2 kB / 0.8238 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01531, allocations: 3.938 kB / 0.8238 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.01547, allocations: 35.95 kB / 0.8238 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.01547, allocations: 4 kB / 0.8238 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.01556, allocations: 34.08 kB / 0.8238 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01557, allocations: 7.984 kB / 0.8238 GB, free: 4.934 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 9.007e-05/0.01566, allocations: 168.5 kB / 0.824 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.01571, allocations: 39.77 kB / 0.824 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01593, allocations: 139.1 kB / 0.8242 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.01593, allocations: 0 / 0.8242 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.01594, allocations: 0 / 0.8242 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01594, allocations: 0 / 0.8242 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.01615, allocations: 264.3 kB / 0.8244 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01615, allocations: 1.656 kB / 0.8244 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.884e-05/0.01625, allocations: 35.84 kB / 0.8245 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.01625, allocations: 4 kB / 0.8245 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.01627, allocations: 11.98 kB / 0.8245 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01627, allocations: 3.984 kB / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01627, allocations: 0 / 0.8245 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.0165, allocations: 275.6 kB / 0.8247 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.464e-05/0.01657, allocations: 47.73 kB / 0.8248 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.01659, allocations: 4 kB / 0.8248 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.01669, allocations: 19.97 kB / 0.8248 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.01675, allocations: 11.98 kB / 0.8248 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01676, allocations: 7.984 kB / 0.8248 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001633/0.01692, allocations: 283.1 kB / 0.8251 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01692, allocations: 7.938 kB / 0.8251 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002985/0.01722, allocations: 119.8 kB / 0.8252 GB, free: 3.453 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.0002887/0.01751, allocations: 198.9 kB / 0.8254 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.01776, allocations: 201.6 kB / 0.8256 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01776, allocations: 0 / 0.8256 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.007e-05/0.01783, allocations: 47.59 kB / 0.8257 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01816, allocations: 73.98 kB / 0.8257 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.01934, allocations: 0.5549 MB / 0.8263 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.01939, allocations: 99.89 kB / 0.8264 GB, free: 2.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.01951, allocations: 45.89 kB / 0.8264 GB, free: 2.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.01958, allocations: 32.48 kB / 0.8264 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of SimCode: time 1.193e-06/0.01958, allocations: 0 / 0.8264 GB, free: 2.129 MB / 0.7761 GB Notification: Performance of Templates: time 0.008252/0.02783, allocations: 5.6 MB / 0.8319 GB, free: 12.62 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: 4.981987702660263]