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.001273/0.001273, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001299/0.001299, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.007/1.007, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.042/2.042, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.583e-06/1.583e-06, allocations: 1.094 kB / 0.8782 GB, free: 5.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.306e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002675/0.002698, allocations: 2.207 MB / 0.8804 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003659/0.006357, allocations: 4.214 MB / 0.8845 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.006467, allocations: 9.469 kB / 0.8845 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006614/0.007129, allocations: 175.1 kB / 0.8846 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.007249, allocations: 87.16 kB / 0.8847 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.007766, allocations: 339 kB / 0.885 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.008255, allocations: 466.4 kB / 0.8855 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.008356, allocations: 32.92 kB / 0.8855 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.008522, allocations: 187.6 kB / 0.8857 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.008656, allocations: 127.6 kB / 0.8858 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.008684, allocations: 20 kB / 0.8858 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.009048, allocations: 331.4 kB / 0.8862 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.009147, allocations: 119.6 kB / 0.8863 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.009236, allocations: 107.7 kB / 0.8864 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.009728, allocations: 0.5529 MB / 0.8869 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.009731, allocations: 0 / 0.8869 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.113e-06/0.009732, allocations: 0 / 0.8869 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.009737, allocations: 0 / 0.8869 GB, free: 12.55 MB / 0.8073 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.00109/0.01083, allocations: 0.8234 MB / 0.8877 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.01086, allocations: 8.031 kB / 0.8877 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.01177, allocations: 276.4 kB / 0.888 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.01223, allocations: 322.8 kB / 0.8883 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.01224, allocations: 12.56 kB / 0.8883 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.01227, allocations: 16.31 kB / 0.8883 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.01258, allocations: 186.5 kB / 0.8885 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.01259, allocations: 3.984 kB / 0.8885 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.01261, allocations: 0 / 0.8885 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.01262, allocations: 0 / 0.8885 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.01278, allocations: 82.02 kB / 0.8886 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.01356, allocations: 0.5851 MB / 0.8892 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.01371, allocations: 87.02 kB / 0.8892 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.0138, allocations: 51.67 kB / 0.8893 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.01385, allocations: 23.98 kB / 0.8893 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.01387, allocations: 37.39 kB / 0.8894 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.01387, allocations: 0 / 0.8894 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0004221/0.01429, allocations: 227.1 kB / 0.8896 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.01432, allocations: 55.41 kB / 0.8896 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.01462, allocations: 466.6 kB / 0.8901 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.01464, allocations: 29.7 kB / 0.8901 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01476, allocations: 247.2 kB / 0.8903 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.0148, allocations: 47.59 kB / 0.8904 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.01487, allocations: 67.23 kB / 0.8904 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01501, allocations: 0.5274 MB / 0.891 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.01514, allocations: 97.91 kB / 0.891 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01526, allocations: 102.8 kB / 0.8911 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.01548, allocations: 184.5 kB / 0.8913 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01548, allocations: 0 / 0.8913 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003586/0.01584, allocations: 326.2 kB / 0.8916 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.01587, allocations: 41.69 kB / 0.8917 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01588, allocations: 0 / 0.8917 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01589, allocations: 0 / 0.8917 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.0161, allocations: 59.88 kB / 0.8917 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.0161, allocations: 8 kB / 0.8917 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.01624, allocations: 31.83 kB / 0.8918 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.01626, allocations: 11.98 kB / 0.8918 GB, free: 7.336 MB / 0.8073 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.0001052/0.01636, allocations: 164.5 kB / 0.8919 GB, free: 7.164 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.01642, allocations: 47.7 kB / 0.892 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.01676, allocations: 213 kB / 0.8922 GB, free: 6.902 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01677, allocations: 4 kB / 0.8922 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01677, allocations: 0 / 0.8922 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01677, allocations: 0 / 0.8922 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.01701, allocations: 284.3 kB / 0.8925 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01702, allocations: 7.938 kB / 0.8925 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.01718, allocations: 47.94 kB / 0.8925 GB, free: 6.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01718, allocations: 4 kB / 0.8925 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01719, allocations: 3.984 kB / 0.8925 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.0172, allocations: 0 / 0.8925 GB, free: 6.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.0172, allocations: 4 kB / 0.8925 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.0175, allocations: 325.4 kB / 0.8928 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.01759, allocations: 67.67 kB / 0.8929 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.01762, allocations: 0 / 0.8929 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01776, allocations: 23.97 kB / 0.8929 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.01782, allocations: 23.97 kB / 0.8929 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.01783, allocations: 11.98 kB / 0.893 GB, free: 6.059 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001746/0.018, allocations: 295 kB / 0.8932 GB, free: 5.77 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.018, allocations: 4 kB / 0.8932 GB, free: 5.766 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003155/0.01832, allocations: 123.8 kB / 0.8934 GB, free: 5.645 MB / 0.8073 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.0002526/0.01857, allocations: 187 kB / 0.8935 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.01892, allocations: 272.6 kB / 0.8938 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01892, allocations: 0 / 0.8938 GB, free: 5.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.01903, allocations: 83.58 kB / 0.8939 GB, free: 5.074 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000587/0.01962, allocations: 77.16 kB / 0.894 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.02058, allocations: 0.6066 MB / 0.8945 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.02064, allocations: 100.3 kB / 0.8946 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000171/0.02081, allocations: 61.91 kB / 0.8947 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.0209, allocations: 32.48 kB / 0.8947 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.0209, allocations: 4 kB / 0.8947 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of Templates: time 0.00733/0.02823, allocations: 5.877 MB / 0.9005 GB, free: 14.37 MB / 0.823 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.318336002994329]