Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009804/0.0009804, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001061/0.001061, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9889/0.9889, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.798/1.798, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|solHeaGai.TFlu.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.366e-05, allocations: 8.844 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003023/0.003047, allocations: 2.166 MB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.007357, allocations: 3.902 MB / 0.7942 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.007478, allocations: 7.938 kB / 0.7942 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.007736, allocations: 52.05 kB / 0.7943 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.008077, allocations: 133.3 kB / 0.7944 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.008518, allocations: 193.8 kB / 0.7946 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.008904, allocations: 334.7 kB / 0.7949 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.009028, allocations: 38.22 kB / 0.795 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.009312, allocations: 191.5 kB / 0.7951 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.009447, allocations: 121.4 kB / 0.7953 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.009478, allocations: 16 kB / 0.7953 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.009694, allocations: 123.7 kB / 0.7954 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.828e-05/0.009752, allocations: 61.3 kB / 0.7954 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.897e-05/0.009821, allocations: 75.77 kB / 0.7955 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.01015, allocations: 306.9 kB / 0.7958 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.01015, allocations: 4 kB / 0.7958 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01015, allocations: 0 / 0.7958 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.01016, allocations: 5.062 kB / 0.7958 GB, free: 4.523 MB / 0.7448 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.0007304/0.01089, allocations: 0.6425 MB / 0.7964 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.01092, allocations: 8.031 kB / 0.7965 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.01144, allocations: 145.5 kB / 0.7966 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.01169, allocations: 232.5 kB / 0.7968 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.0117, allocations: 8.562 kB / 0.7968 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.01173, allocations: 12.38 kB / 0.7968 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.01203, allocations: 164.5 kB / 0.797 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.01204, allocations: 0 / 0.797 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.01205, allocations: 5.281 kB / 0.797 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.01206, allocations: 4 kB / 0.797 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.01216, allocations: 58.17 kB / 0.7971 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.01281, allocations: 474.7 kB / 0.7975 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.01294, allocations: 73.33 kB / 0.7976 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.013, allocations: 47.59 kB / 0.7976 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.01328, allocations: 94.33 kB / 0.7977 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.0133, allocations: 41.33 kB / 0.7978 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.0133, allocations: 0.5312 kB / 0.7978 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003195/0.01362, allocations: 172.6 kB / 0.7979 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.01365, allocations: 55.41 kB / 0.798 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.01383, allocations: 319.1 kB / 0.7983 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.01386, allocations: 29.7 kB / 0.7983 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.01395, allocations: 211.3 kB / 0.7985 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.01399, allocations: 43.59 kB / 0.7985 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-05/0.01405, allocations: 50.14 kB / 0.7986 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.01419, allocations: 0.5117 MB / 0.7991 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.01425, allocations: 27.98 kB / 0.7991 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.01431, allocations: 38.16 kB / 0.7992 GB, free: 0.9414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.01444, allocations: 75.66 kB / 0.7992 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01444, allocations: 2.375 kB / 0.7992 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002255/0.01467, allocations: 163.3 kB / 0.7994 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.01468, allocations: 4 kB / 0.7994 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.01469, allocations: 3.984 kB / 0.7994 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.0147, allocations: 0 / 0.7994 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.01488, allocations: 51.95 kB / 0.7994 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01488, allocations: 0 / 0.7994 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01499, allocations: 39.86 kB / 0.7995 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.01501, allocations: 4 kB / 0.7995 GB, free: 0.5977 MB / 0.7448 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 9.643e-05/0.0151, allocations: 164.5 kB / 0.7996 GB, free: 436 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.01515, allocations: 39.75 kB / 0.7997 GB, free: 396 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.0154, allocations: 164.3 kB / 0.7998 GB, free: 224 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.0154, allocations: 4 kB / 0.7998 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.0154, allocations: 0 / 0.7998 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.0154, allocations: 0 / 0.7998 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.01558, allocations: 185.1 kB / 0.8 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01558, allocations: 0 / 0.8 GB, free: 8 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.01574, allocations: 47.88 kB / 0.8001 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01574, allocations: 4 kB / 0.8001 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01576, allocations: 11.88 kB / 0.8001 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01576, allocations: 0 / 0.8001 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01576, allocations: 0 / 0.8001 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.01601, allocations: 298.6 kB / 0.8004 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.01607, allocations: 47.7 kB / 0.8004 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.0161, allocations: 11.94 kB / 0.8004 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01621, allocations: 19.97 kB / 0.8004 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.01626, allocations: 23.97 kB / 0.8005 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01628, allocations: 0 / 0.8005 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001002/0.01638, allocations: 222.9 kB / 0.8007 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01638, allocations: 0 / 0.8007 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002399/0.01662, allocations: 75.86 kB / 0.8007 GB, free: 15.25 MB / 0.7605 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.0001688/0.01678, allocations: 131.1 kB / 0.8009 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.01697, allocations: 107.5 kB / 0.801 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01698, allocations: 0 / 0.801 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.01706, allocations: 59.64 kB / 0.801 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.01732, allocations: 41.12 kB / 0.8011 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.01808, allocations: 467.6 kB / 0.8015 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.01814, allocations: 79.81 kB / 0.8016 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.01825, allocations: 41.45 kB / 0.8016 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.0184, allocations: 106.2 kB / 0.8017 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.0184, allocations: 0 / 0.8017 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of Templates: time 0.005648/0.02405, allocations: 3.891 MB / 0.8055 GB, free: 10.34 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.117939468938857]