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.0009724/0.0009724, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001125/0.001125, allocations: 161 kB / 24.17 MB, free: 332 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.9868/0.9868, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.673e-06/1.673e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.086e-05, allocations: 7.438 kB / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004055/0.004086, allocations: 2.249 MB / 0.7623 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00516/0.009246, allocations: 4.227 MB / 0.7664 GB, free: 136 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.009337, allocations: 7.938 kB / 0.7664 GB, free: 128 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.009935, allocations: 181.5 kB / 0.7666 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.01004, allocations: 81.72 kB / 0.7666 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.01045, allocations: 313.4 kB / 0.7669 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.0109, allocations: 468.4 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.01099, allocations: 43.52 kB / 0.7674 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.01117, allocations: 182.3 kB / 0.7676 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.01129, allocations: 123.7 kB / 0.7677 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.01132, allocations: 23.94 kB / 0.7677 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.01172, allocations: 359.4 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.937e-05/0.0118, allocations: 127.6 kB / 0.7682 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.01188, allocations: 106.7 kB / 0.7683 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.01233, allocations: 0.5451 MB / 0.7688 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.01233, allocations: 3.938 kB / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.32e-07/0.01233, allocations: 0 / 0.7688 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.01234, allocations: 0 / 0.7688 GB, free: 13.61 MB / 0.7292 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.0007/0.01304, allocations: 0.6771 MB / 0.7695 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.01307, allocations: 8.031 kB / 0.7695 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.01355, allocations: 136.3 kB / 0.7696 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.0138, allocations: 249.1 kB / 0.7699 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.01381, allocations: 17.14 kB / 0.7699 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.01383, allocations: 12.36 kB / 0.7699 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.01408, allocations: 173.5 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.01408, allocations: 3.938 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.0141, allocations: 4.688 kB / 0.7701 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.0141, allocations: 4 kB / 0.7701 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.783e-05/0.01419, allocations: 45.12 kB / 0.7701 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.01474, allocations: 357.9 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.01485, allocations: 97.3 kB / 0.7706 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.0149, allocations: 39.47 kB / 0.7706 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.01494, allocations: 27.92 kB / 0.7706 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.01496, allocations: 30.56 kB / 0.7707 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.01496, allocations: 0 / 0.7707 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002413/0.0152, allocations: 140 kB / 0.7708 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.01522, allocations: 51.41 kB / 0.7708 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01543, allocations: 367.2 kB / 0.7712 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.01545, allocations: 29.7 kB / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.01552, allocations: 151.6 kB / 0.7714 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.01555, allocations: 43.64 kB / 0.7714 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.01562, allocations: 49.66 kB / 0.7715 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.0157, allocations: 354.7 kB / 0.7718 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.01579, allocations: 80.75 kB / 0.7719 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.01586, allocations: 78.08 kB / 0.7719 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.01601, allocations: 158.7 kB / 0.7721 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01601, allocations: 0 / 0.7721 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002103/0.01622, allocations: 237.4 kB / 0.7723 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.01625, allocations: 45.69 kB / 0.7724 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01625, allocations: 2.781 kB / 0.7724 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.01626, allocations: 0 / 0.7724 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.01644, allocations: 55.92 kB / 0.7724 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.01644, allocations: 7.938 kB / 0.7724 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01656, allocations: 39.77 kB / 0.7725 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.01657, allocations: 8.641 kB / 0.7725 GB, free: 9.723 MB / 0.7292 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 7.965e-05/0.01665, allocations: 117.4 kB / 0.7726 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.888e-05/0.01669, allocations: 29.34 kB / 0.7726 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.01689, allocations: 149.2 kB / 0.7728 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01689, allocations: 7.938 kB / 0.7728 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.01689, allocations: 1.781 kB / 0.7728 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.0169, allocations: 3.984 kB / 0.7728 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.01707, allocations: 165.7 kB / 0.7729 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01707, allocations: 0 / 0.7729 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.0172, allocations: 48.88 kB / 0.773 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.0172, allocations: 0 / 0.773 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.01722, allocations: 12.45 kB / 0.773 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01722, allocations: 5.5 kB / 0.773 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01722, allocations: 0 / 0.773 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.01741, allocations: 254.1 kB / 0.7732 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.01747, allocations: 52.67 kB / 0.7733 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.0175, allocations: 7.938 kB / 0.7733 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.01761, allocations: 16.73 kB / 0.7733 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.01766, allocations: 25.25 kB / 0.7733 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.01767, allocations: 7.984 kB / 0.7733 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001028/0.01777, allocations: 152.7 kB / 0.7735 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01777, allocations: 0 / 0.7735 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002567/0.01803, allocations: 128.6 kB / 0.7736 GB, free: 8.52 MB / 0.7292 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.0002256/0.01826, allocations: 181.3 kB / 0.7738 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.01849, allocations: 230.7 kB / 0.774 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.0185, allocations: 4 kB / 0.774 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.01857, allocations: 54.08 kB / 0.7741 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.01881, allocations: 71.2 kB / 0.7741 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.01964, allocations: 0.6135 MB / 0.7747 GB, free: 7.328 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.0197, allocations: 108.2 kB / 0.7748 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.01982, allocations: 36.38 kB / 0.7749 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.02, allocations: 112.1 kB / 0.775 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.02, allocations: 0 / 0.775 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.007823/0.02782, allocations: 5.932 MB / 0.7808 GB, free: 1.32 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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: 4.984415518119931]