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.001071/0.001071, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001678/0.001678, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.974/0.974, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.814/1.814, allocations: 359 MB / 0.6052 GB, free: 11.04 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.453e-06/1.453e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.519e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002764/0.002789, allocations: 2.185 MB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003923/0.006712, allocations: 3.942 MB / 0.7931 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.006842, allocations: 4 kB / 0.7931 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.007122, allocations: 60.22 kB / 0.7931 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.007461, allocations: 122 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.007828, allocations: 201.1 kB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.008166, allocations: 334.7 kB / 0.7938 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.008281, allocations: 36.86 kB / 0.7938 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.008544, allocations: 188.7 kB / 0.794 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.008673, allocations: 117.5 kB / 0.7941 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.008705, allocations: 20 kB / 0.7941 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.008892, allocations: 119.8 kB / 0.7942 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.00905, allocations: 59.75 kB / 0.7943 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.009124, allocations: 81.66 kB / 0.7944 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.009466, allocations: 318.8 kB / 0.7947 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.009469, allocations: 0 / 0.7947 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.009471, allocations: 0 / 0.7947 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.009476, allocations: 4 kB / 0.7947 GB, free: 4.754 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.0007939/0.01027, allocations: 0.6457 MB / 0.7953 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.01031, allocations: 13.41 kB / 0.7953 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.01089, allocations: 186.7 kB / 0.7955 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.01128, allocations: 283.8 kB / 0.7958 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.01129, allocations: 13.34 kB / 0.7958 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.01131, allocations: 8.375 kB / 0.7958 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.01161, allocations: 174 kB / 0.7959 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.01162, allocations: 0 / 0.7959 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.01164, allocations: 7.984 kB / 0.7959 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.01165, allocations: 4 kB / 0.796 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.0118, allocations: 72.58 kB / 0.796 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.01249, allocations: 0.5141 MB / 0.7965 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.01263, allocations: 78.19 kB / 0.7966 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.01272, allocations: 57.66 kB / 0.7967 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.01301, allocations: 86.86 kB / 0.7967 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01304, allocations: 41.33 kB / 0.7968 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01304, allocations: 0 / 0.7968 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005397/0.01358, allocations: 185.4 kB / 0.797 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.01361, allocations: 55.41 kB / 0.797 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.01381, allocations: 331.2 kB / 0.7973 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01383, allocations: 25.7 kB / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.01394, allocations: 203.9 kB / 0.7975 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.01397, allocations: 47.59 kB / 0.7976 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.916e-05/0.01404, allocations: 47.34 kB / 0.7976 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01418, allocations: 0.509 MB / 0.7981 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.01427, allocations: 39.97 kB / 0.7982 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.458e-05/0.01435, allocations: 40.98 kB / 0.7982 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.01453, allocations: 102 kB / 0.7983 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01453, allocations: 0.6562 kB / 0.7983 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002724/0.0148, allocations: 177.9 kB / 0.7985 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.01482, allocations: 7.344 kB / 0.7985 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01482, allocations: 0 / 0.7985 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.01485, allocations: 4 kB / 0.7985 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.01505, allocations: 48.77 kB / 0.7985 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.01505, allocations: 11.98 kB / 0.7985 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01516, allocations: 19.92 kB / 0.7986 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01518, allocations: 11.98 kB / 0.7986 GB, free: 0.5781 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.556e-05/0.01527, allocations: 164.5 kB / 0.7987 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.01532, allocations: 31.81 kB / 0.7988 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.01562, allocations: 188.3 kB / 0.7989 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01562, allocations: 0 / 0.7989 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01563, allocations: 0 / 0.7989 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.01563, allocations: 3.984 kB / 0.7989 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.01585, allocations: 224.4 kB / 0.7992 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01585, allocations: 0 / 0.7992 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01599, allocations: 39.95 kB / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01599, allocations: 0 / 0.7992 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.01601, allocations: 15.98 kB / 0.7992 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01601, allocations: 0 / 0.7992 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01601, allocations: 0 / 0.7992 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.01631, allocations: 317.8 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.01638, allocations: 51.7 kB / 0.7996 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01641, allocations: 0 / 0.7996 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.01651, allocations: 19.98 kB / 0.7996 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.01657, allocations: 19.97 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01659, allocations: 7.984 kB / 0.7996 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001134/0.0167, allocations: 227 kB / 0.7998 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.0167, allocations: 0 / 0.7998 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003166/0.01702, allocations: 75.81 kB / 0.7999 GB, free: 15.15 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.00019/0.01721, allocations: 135.1 kB / 0.8 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.01746, allocations: 119.6 kB / 0.8001 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.01746, allocations: 0 / 0.8001 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.01757, allocations: 71.58 kB / 0.8002 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.01787, allocations: 48.81 kB / 0.8003 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.01906, allocations: 475 kB / 0.8007 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.0191, allocations: 75.83 kB / 0.8008 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001298/0.01923, allocations: 53.42 kB / 0.8008 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.01932, allocations: 28.48 kB / 0.8009 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.01932, allocations: 0 / 0.8009 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of Templates: time 0.005164/0.02448, allocations: 3.492 MB / 0.8043 GB, free: 10.66 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.231704825069755]