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.001069/0.001069, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001041/0.001041, allocations: 173.4 kB / 24.06 MB, free: 448 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.531 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.157/2.157, allocations: 429.5 MB / 0.6743 GB, free: 3.934 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 2.084e-06/2.084e-06, allocations: 0 / 0.8794 GB, free: 5.895 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.336e-05, allocations: 3.156 kB / 0.8794 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003368/0.003391, allocations: 2.2 MB / 0.8815 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.008475, allocations: 4.176 MB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.008598, allocations: 7.938 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.009318, allocations: 175 kB / 0.8858 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.009478, allocations: 87.22 kB / 0.8859 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.01013, allocations: 347 kB / 0.8862 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000587/0.01072, allocations: 454.5 kB / 0.8866 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.01083, allocations: 40.89 kB / 0.8867 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002232/0.01105, allocations: 187.6 kB / 0.8869 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.01123, allocations: 131.6 kB / 0.887 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.01127, allocations: 20 kB / 0.887 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.01175, allocations: 335.3 kB / 0.8873 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.01186, allocations: 115.6 kB / 0.8874 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001079/0.01197, allocations: 103.7 kB / 0.8875 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006065/0.01257, allocations: 0.5412 MB / 0.8881 GB, free: 13 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01258, allocations: 0 / 0.8881 GB, free: 13 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.535e-06/0.01258, allocations: 7.922 kB / 0.8881 GB, free: 13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.01258, allocations: 0 / 0.8881 GB, free: 13 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.001003/0.01359, allocations: 0.8234 MB / 0.8889 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.01362, allocations: 8.031 kB / 0.8889 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.01468, allocations: 208.5 kB / 0.8891 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.01503, allocations: 270.7 kB / 0.8893 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.01504, allocations: 12.56 kB / 0.8893 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.01507, allocations: 12.38 kB / 0.8894 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.01544, allocations: 174.6 kB / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.01545, allocations: 0 / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.01547, allocations: 4 kB / 0.8895 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.01548, allocations: 4 kB / 0.8895 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.01564, allocations: 65.06 kB / 0.8896 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.01655, allocations: 0.5153 MB / 0.8901 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.01672, allocations: 74.22 kB / 0.8902 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.01682, allocations: 55.59 kB / 0.8902 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.238e-05/0.01686, allocations: 15.98 kB / 0.8902 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.01689, allocations: 37.39 kB / 0.8903 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.01689, allocations: 4 kB / 0.8903 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004724/0.01736, allocations: 201.5 kB / 0.8905 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.01739, allocations: 51.41 kB / 0.8905 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.01778, allocations: 454.4 kB / 0.891 GB, free: 9.879 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.0178, allocations: 29.7 kB / 0.891 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.01796, allocations: 255.1 kB / 0.8912 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.01801, allocations: 47.59 kB / 0.8913 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.01812, allocations: 63.3 kB / 0.8913 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.01829, allocations: 0.5312 MB / 0.8919 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.01843, allocations: 81.91 kB / 0.8919 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.01856, allocations: 93.09 kB / 0.892 GB, free: 8.746 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.0188, allocations: 162.4 kB / 0.8922 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.0188, allocations: 0 / 0.8922 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004557/0.01926, allocations: 298 kB / 0.8925 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.0193, allocations: 45.69 kB / 0.8925 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01931, allocations: 0 / 0.8925 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.01932, allocations: 0 / 0.8925 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.01962, allocations: 51.94 kB / 0.8925 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01962, allocations: 8 kB / 0.8926 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.01984, allocations: 47.69 kB / 0.8926 GB, free: 8.113 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.01987, allocations: 7.984 kB / 0.8926 GB, free: 8.105 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 0.0001258/0.02, allocations: 164.6 kB / 0.8928 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.58e-05/0.02008, allocations: 51.66 kB / 0.8928 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.0205, allocations: 193.1 kB / 0.893 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.02051, allocations: 0 / 0.893 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.02051, allocations: 3.938 kB / 0.893 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.02051, allocations: 4 kB / 0.893 GB, free: 7.684 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.02082, allocations: 220.8 kB / 0.8932 GB, free: 7.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02082, allocations: 4 kB / 0.8932 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.02107, allocations: 47.94 kB / 0.8933 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.02107, allocations: 4 kB / 0.8933 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.02109, allocations: 7.922 kB / 0.8933 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.02109, allocations: 4 kB / 0.8933 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0211, allocations: 0 / 0.8933 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.02149, allocations: 311.5 kB / 0.8936 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.02161, allocations: 67.61 kB / 0.8936 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.02166, allocations: 3.938 kB / 0.8936 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.0219, allocations: 19.97 kB / 0.8937 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.02196, allocations: 23.97 kB / 0.8937 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.02198, allocations: 7.984 kB / 0.8937 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002197/0.0222, allocations: 283 kB / 0.894 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.0222, allocations: 0 / 0.894 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004732/0.02268, allocations: 127.8 kB / 0.8941 GB, free: 6.535 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.0002959/0.02297, allocations: 179 kB / 0.8943 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.02338, allocations: 260.6 kB / 0.8945 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02338, allocations: 0 / 0.8945 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.02352, allocations: 67.58 kB / 0.8946 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.02399, allocations: 71.25 kB / 0.8946 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.02512, allocations: 0.5961 MB / 0.8952 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.55e-05/0.02521, allocations: 104.3 kB / 0.8953 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002543/0.02546, allocations: 53.92 kB / 0.8954 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.02574, allocations: 134.1 kB / 0.8955 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.02574, allocations: 0 / 0.8955 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of Templates: time 0.01081/0.03654, allocations: 6.453 MB / 0.9018 GB, free: 14.64 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.536660721991211]