Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001253/0.001253, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001272/0.001272, allocations: 169 kB / 23.02 MB, free: 1.551 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.9829/0.9829, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.012/2.012, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.866e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002626/0.002655, allocations: 2.229 MB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004127/0.006782, allocations: 4.205 MB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.0069, allocations: 7.938 kB / 0.8845 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007787/0.007678, allocations: 178.5 kB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.007835, allocations: 84.31 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006174/0.008452, allocations: 339.1 kB / 0.885 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006/0.009052, allocations: 470.4 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.009171, allocations: 36.91 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.009361, allocations: 183.6 kB / 0.8857 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.009504, allocations: 131.6 kB / 0.8858 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.264e-05/0.009537, allocations: 20 kB / 0.8858 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.009955, allocations: 327.4 kB / 0.8862 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.01007, allocations: 127.5 kB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.01017, allocations: 111.7 kB / 0.8864 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005526/0.01072, allocations: 0.5491 MB / 0.8869 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.01072, allocations: 0 / 0.8869 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01072, allocations: 0 / 0.8869 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.01073, allocations: 0 / 0.8869 GB, free: 13.35 MB / 0.8542 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.0008983/0.01163, allocations: 0.8157 MB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.01167, allocations: 12.03 kB / 0.8877 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.01254, allocations: 276.2 kB / 0.888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.01308, allocations: 322.8 kB / 0.8883 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.0131, allocations: 8.562 kB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.01313, allocations: 12.38 kB / 0.8883 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.01348, allocations: 188.5 kB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01349, allocations: 4 kB / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.01351, allocations: 0 / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.01352, allocations: 0 / 0.8885 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.0137, allocations: 87.94 kB / 0.8886 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008113/0.01451, allocations: 0.5774 MB / 0.8891 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.01466, allocations: 83.03 kB / 0.8892 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.646e-05/0.01476, allocations: 59.64 kB / 0.8893 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.01481, allocations: 19.98 kB / 0.8893 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01483, allocations: 41.39 kB / 0.8893 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.01484, allocations: 0 / 0.8893 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004427/0.01528, allocations: 220.4 kB / 0.8896 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.01531, allocations: 55.41 kB / 0.8896 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.01562, allocations: 462.7 kB / 0.89 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.01565, allocations: 29.7 kB / 0.8901 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.01578, allocations: 255.2 kB / 0.8903 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.01582, allocations: 43.61 kB / 0.8904 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.01591, allocations: 67.27 kB / 0.8904 GB, free: 9.57 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01607, allocations: 0.5274 MB / 0.8909 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.01621, allocations: 101.9 kB / 0.891 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01634, allocations: 101.6 kB / 0.8911 GB, free: 8.824 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.01657, allocations: 187.4 kB / 0.8913 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01657, allocations: 0 / 0.8913 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004101/0.01698, allocations: 334 kB / 0.8916 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.01703, allocations: 45.69 kB / 0.8917 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.01703, allocations: 0 / 0.8917 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01705, allocations: 0 / 0.8917 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.01726, allocations: 51.94 kB / 0.8917 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01727, allocations: 8 kB / 0.8917 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.0174, allocations: 43.75 kB / 0.8918 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01742, allocations: 7.984 kB / 0.8918 GB, free: 8.129 MB / 0.8542 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.624e-05/0.01752, allocations: 168.5 kB / 0.8919 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.01757, allocations: 47.72 kB / 0.892 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.0179, allocations: 205.1 kB / 0.8922 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.0179, allocations: 4 kB / 0.8922 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01791, allocations: 0 / 0.8922 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01791, allocations: 0 / 0.8922 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.01815, allocations: 288.2 kB / 0.8925 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01815, allocations: 3.938 kB / 0.8925 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.0183, allocations: 39.95 kB / 0.8925 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01831, allocations: 8 kB / 0.8925 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.01832, allocations: 3.984 kB / 0.8925 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01832, allocations: 0 / 0.8925 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01833, allocations: 0 / 0.8925 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.01862, allocations: 335.5 kB / 0.8928 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.291e-05/0.01871, allocations: 59.67 kB / 0.8929 GB, free: 6.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.01874, allocations: 7.938 kB / 0.8929 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.01887, allocations: 19.97 kB / 0.8929 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.01893, allocations: 19.97 kB / 0.8929 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.01894, allocations: 11.98 kB / 0.8929 GB, free: 6.863 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001775/0.01912, allocations: 299 kB / 0.8932 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01912, allocations: 0 / 0.8932 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003024/0.01942, allocations: 131.8 kB / 0.8934 GB, free: 6.441 MB / 0.8542 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.0002544/0.01968, allocations: 179 kB / 0.8935 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.02003, allocations: 280.6 kB / 0.8938 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.02003, allocations: 0 / 0.8938 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.02014, allocations: 83.45 kB / 0.8939 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.02047, allocations: 73.73 kB / 0.8939 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.02145, allocations: 0.6039 MB / 0.8945 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.539e-05/0.02151, allocations: 104.3 kB / 0.8946 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001626/0.02168, allocations: 57.91 kB / 0.8947 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.02178, allocations: 32.47 kB / 0.8947 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.02178, allocations: 4 kB / 0.8947 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of Templates: time 0.008269/0.03005, allocations: 5.878 MB / 0.9005 GB, free: 15.17 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.654741010162979]