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.0009072/0.0009072, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009247/0.0009247, allocations: 185 kB / 24.09 MB, free: 416 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 0.8908/0.8908, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.682/1.682, allocations: 359 MB / 0.6055 GB, free: 10.88 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 2.385e-06/2.385e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.883e-05, allocations: 7.031 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.006723/0.006752, allocations: 2.158 MB / 0.7897 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.01797, allocations: 3.904 MB / 0.7935 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.01817, allocations: 3.938 kB / 0.7935 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.01846, allocations: 59.5 kB / 0.7935 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.01887, allocations: 122 kB / 0.7937 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.01937, allocations: 204.6 kB / 0.7939 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003796/0.01975, allocations: 331.2 kB / 0.7942 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.01989, allocations: 37.38 kB / 0.7942 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.02023, allocations: 192.4 kB / 0.7944 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.02038, allocations: 112.5 kB / 0.7945 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.02042, allocations: 20.53 kB / 0.7945 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.02067, allocations: 129.1 kB / 0.7946 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.003077/0.02375, allocations: 59.75 kB / 0.7947 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.814e-05/0.02383, allocations: 79.75 kB / 0.7948 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.02423, allocations: 302.9 kB / 0.7951 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.02423, allocations: 1.156 kB / 0.7951 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.372e-06/0.02423, allocations: 0 / 0.7951 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.02424, allocations: 0 / 0.7951 GB, free: 4.508 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.0008328/0.02507, allocations: 0.6497 MB / 0.7957 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.02511, allocations: 8.031 kB / 0.7957 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.02578, allocations: 145.8 kB / 0.7958 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.02603, allocations: 232.5 kB / 0.7961 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.02605, allocations: 8.562 kB / 0.7961 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.02607, allocations: 15.75 kB / 0.7961 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.02639, allocations: 160.4 kB / 0.7962 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.02639, allocations: 7.984 kB / 0.7963 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.02641, allocations: 4 kB / 0.7963 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.02642, allocations: 0 / 0.7963 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.02654, allocations: 60.91 kB / 0.7963 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.02942, allocations: 471.3 kB / 0.7968 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.02957, allocations: 76.89 kB / 0.7968 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.02965, allocations: 47.61 kB / 0.7969 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.02999, allocations: 103.1 kB / 0.797 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.03001, allocations: 33.39 kB / 0.797 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.794e-06/0.03001, allocations: 0 / 0.797 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003574/0.03037, allocations: 172.8 kB / 0.7972 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.03039, allocations: 55.41 kB / 0.7972 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.03061, allocations: 322.2 kB / 0.7975 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.03063, allocations: 33.7 kB / 0.7976 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.03073, allocations: 210.6 kB / 0.7978 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.03077, allocations: 47.58 kB / 0.7978 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.03085, allocations: 47.33 kB / 0.7979 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.03101, allocations: 0.5118 MB / 0.7984 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.03109, allocations: 32.91 kB / 0.7984 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.158e-05/0.03116, allocations: 29.11 kB / 0.7984 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.03132, allocations: 81.83 kB / 0.7985 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.03132, allocations: 1.062 kB / 0.7985 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002721/0.03159, allocations: 160.6 kB / 0.7987 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.03161, allocations: 4 kB / 0.7987 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.03161, allocations: 4 kB / 0.7987 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.03162, allocations: 0.875 kB / 0.7987 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.03184, allocations: 56.38 kB / 0.7987 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.03184, allocations: 0 / 0.7987 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.03197, allocations: 28.75 kB / 0.7987 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.03199, allocations: 9.078 kB / 0.7988 GB, free: 0.5664 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.476e-05/0.03208, allocations: 160.6 kB / 0.7989 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.03214, allocations: 37.03 kB / 0.7989 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.03243, allocations: 169.3 kB / 0.7991 GB, free: 196 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.03243, allocations: 4 kB / 0.7991 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.03243, allocations: 0 / 0.7991 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.03244, allocations: 3.984 kB / 0.7991 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.03267, allocations: 181.1 kB / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.03267, allocations: 0 / 0.7993 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.03284, allocations: 43.89 kB / 0.7993 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.03284, allocations: 4 kB / 0.7993 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.03286, allocations: 7.922 kB / 0.7993 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.03286, allocations: 3.984 kB / 0.7993 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.03286, allocations: 7.938 kB / 0.7993 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.03315, allocations: 293.8 kB / 0.7996 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/0.03322, allocations: 51.7 kB / 0.7997 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.03325, allocations: 7.922 kB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.0334, allocations: 23.92 kB / 0.7997 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.03346, allocations: 23.97 kB / 0.7997 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.03347, allocations: 7.984 kB / 0.7997 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001166/0.03359, allocations: 210.9 kB / 0.7999 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.03359, allocations: 4 kB / 0.7999 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003096/0.0339, allocations: 71.86 kB / 0.8 GB, free: 15.22 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.0001967/0.0341, allocations: 139 kB / 0.8001 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.03431, allocations: 107.6 kB / 0.8002 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03432, allocations: 0 / 0.8002 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.03441, allocations: 55.59 kB / 0.8003 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.03475, allocations: 46.67 kB / 0.8003 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.03563, allocations: 466.4 kB / 0.8008 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.299e-05/0.03568, allocations: 79.81 kB / 0.8009 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.03582, allocations: 33.47 kB / 0.8009 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.03599, allocations: 110.2 kB / 0.801 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of SimCode: time 8.21e-07/0.03599, allocations: 0 / 0.801 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of Templates: time 0.006641/0.04263, allocations: 3.806 MB / 0.8047 GB, free: 10.38 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: 4.752656057011336]