Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001429/0.001429, 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.001711/0.001711, 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.9522/0.9522, 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 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.834/1.834, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.ASHRAESolarGain,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.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,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.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.653e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002655/0.002681, allocations: 2.203 MB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.004072/0.006753, allocations: 4.215 MB / 0.8178 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.00689, allocations: 4.75 kB / 0.8178 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007705/0.00766, allocations: 181.1 kB / 0.818 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.007838, allocations: 85.75 kB / 0.8181 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.008571, allocations: 331.5 kB / 0.8184 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.009224, allocations: 466.4 kB / 0.8188 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.009341, allocations: 37.41 kB / 0.8188 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.009568, allocations: 184.1 kB / 0.819 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.00971, allocations: 137.5 kB / 0.8192 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.009742, allocations: 20 kB / 0.8192 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.01021, allocations: 331.4 kB / 0.8195 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.01032, allocations: 116.6 kB / 0.8196 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.01043, allocations: 111.7 kB / 0.8197 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006951/0.01112, allocations: 0.5457 MB / 0.8202 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01113, allocations: 0 / 0.8202 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.522e-06/0.01113, allocations: 0.6562 kB / 0.8202 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.01113, allocations: 0 / 0.8202 GB, free: 9.129 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009428/0.01208, allocations: 0.8225 MB / 0.821 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01212, allocations: 12.03 kB / 0.8211 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006814/0.0128, allocations: 200.2 kB / 0.8212 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01326, allocations: 321 kB / 0.8216 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.01327, allocations: 9.938 kB / 0.8216 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.01329, allocations: 12.38 kB / 0.8216 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.01358, allocations: 176.7 kB / 0.8217 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.01359, allocations: 0 / 0.8217 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.0136, allocations: 4 kB / 0.8217 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01361, allocations: 5.719 kB / 0.8218 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.01376, allocations: 77.77 kB / 0.8218 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.01456, allocations: 0.5727 MB / 0.8224 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.01471, allocations: 93.95 kB / 0.8225 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.01479, allocations: 43.67 kB / 0.8225 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.01484, allocations: 23.98 kB / 0.8225 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.01486, allocations: 33.39 kB / 0.8226 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.01486, allocations: 0 / 0.8226 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003881/0.01525, allocations: 201.6 kB / 0.8228 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.01528, allocations: 67.34 kB / 0.8228 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.01561, allocations: 462.6 kB / 0.8233 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.01564, allocations: 33.7 kB / 0.8233 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.01578, allocations: 247.2 kB / 0.8235 GB, free: 5.598 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.01582, allocations: 47.64 kB / 0.8236 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.0159, allocations: 59.34 kB / 0.8236 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.01606, allocations: 0.5235 MB / 0.8242 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.01618, allocations: 97.91 kB / 0.8242 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.01629, allocations: 100.8 kB / 0.8243 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01649, allocations: 176.3 kB / 0.8245 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01649, allocations: 4 kB / 0.8245 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003414/0.01683, allocations: 324.9 kB / 0.8248 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.01687, allocations: 41.69 kB / 0.8249 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01687, allocations: 0 / 0.8249 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01689, allocations: 3.984 kB / 0.8249 GB, free: 4.176 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.01707, allocations: 47.95 kB / 0.8249 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.01708, allocations: 3.984 kB / 0.8249 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.0172, allocations: 51.75 kB / 0.825 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.01721, allocations: 7.984 kB / 0.825 GB, free: 4.066 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 (18): * Single equations (assignments): 17 * 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.408e-05/0.01731, allocations: 168.5 kB / 0.8251 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.01736, allocations: 47.72 kB / 0.8252 GB, free: 3.844 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.01763, allocations: 185.1 kB / 0.8254 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.01764, allocations: 3.984 kB / 0.8254 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01765, allocations: 0 / 0.8254 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01765, allocations: 0 / 0.8254 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.01788, allocations: 272.4 kB / 0.8256 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01788, allocations: 0 / 0.8256 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.01801, allocations: 51.89 kB / 0.8257 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01801, allocations: 3.984 kB / 0.8257 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.01803, allocations: 0 / 0.8257 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.01803, allocations: 4 kB / 0.8257 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01803, allocations: 4 kB / 0.8257 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.01832, allocations: 329.5 kB / 0.826 GB, free: 2.953 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.0184, allocations: 63.62 kB / 0.8261 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.01843, allocations: 3.938 kB / 0.8261 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.01855, allocations: 23.97 kB / 0.8261 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.01862, allocations: 19.97 kB / 0.8261 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.01863, allocations: 3.984 kB / 0.8261 GB, free: 2.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001823/0.01882, allocations: 303 kB / 0.8264 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01882, allocations: 4 kB / 0.8264 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003895/0.0192, allocations: 123.8 kB / 0.8265 GB, free: 2.418 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 (13): * Single equations (assignments): 13 * 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.0002907/0.0195, allocations: 191 kB / 0.8267 GB, free: 2.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.01984, allocations: 264.7 kB / 0.8269 GB, free: 1.941 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01985, allocations: 3.938 kB / 0.827 GB, free: 1.938 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.727e-05/0.01994, allocations: 71.66 kB / 0.827 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.02026, allocations: 67.92 kB / 0.8271 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.02126, allocations: 0.6037 MB / 0.8277 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.02132, allocations: 108.3 kB / 0.8278 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.02146, allocations: 53.91 kB / 0.8278 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.437e-05/0.02155, allocations: 36.47 kB / 0.8279 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of SimCode: time 1.002e-06/0.02155, allocations: 0 / 0.8279 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of Templates: time 0.007388/0.02893, allocations: 5.758 MB / 0.8335 GB, free: 11.29 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.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.012405526125804]