Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0009394/0.0009394, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001012/0.001012, allocations: 185 kB / 24.09 MB, free: 420 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.945/0.945, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.734/1.734, 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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.993e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002753/0.002783, allocations: 1.651 MB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.003671, allocations: 0.5711 MB / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.003732, allocations: 0 / 0.7897 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.003767, allocations: 6.406 kB / 0.7897 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.004037, allocations: 47.62 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.004197, allocations: 43.88 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.004318, allocations: 129.3 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.004419, allocations: 16.17 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.004598, allocations: 71.86 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.004688, allocations: 51.86 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.00471, allocations: 12.53 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.004768, allocations: 17.19 kB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.004793, allocations: 27.91 kB / 0.7901 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.004829, allocations: 31.91 kB / 0.7902 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.004956, allocations: 89.02 kB / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004958, allocations: 0 / 0.7903 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004959, allocations: 4 kB / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004963, allocations: 0 / 0.7903 GB, free: 9.398 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004673/0.00543, allocations: 437.9 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.005468, allocations: 10.62 kB / 0.7907 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.005599, allocations: 32.83 kB / 0.7907 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.005685, allocations: 132.4 kB / 0.7908 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005699, allocations: 8.375 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.005712, allocations: 4.375 kB / 0.7909 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.00582, allocations: 84.62 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005826, allocations: 0.7188 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.005834, allocations: 4.375 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.005839, allocations: 4.656 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.08e-05/0.00588, allocations: 31.81 kB / 0.791 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.006251, allocations: 330.4 kB / 0.7913 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.006412, allocations: 99.19 kB / 0.7914 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.006447, allocations: 31.66 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.006462, allocations: 3.938 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.006579, allocations: 96.61 kB / 0.7915 GB, free: 8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.006581, allocations: 0.5938 kB / 0.7915 GB, free: 8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0001915/0.006772, allocations: 130.3 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.006809, allocations: 59.39 kB / 0.7917 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.00689, allocations: 183 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006905, allocations: 29.7 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.006956, allocations: 150.7 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.00699, allocations: 41.05 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.007033, allocations: 43.34 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.007151, allocations: 0.4923 MB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.395e-05/0.007185, allocations: 15.98 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.007211, allocations: 19.77 kB / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.73e-05/0.007278, allocations: 63.66 kB / 0.7927 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00728, allocations: 3.938 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001168/0.007397, allocations: 115.8 kB / 0.7928 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.007409, allocations: 5.281 kB / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.007414, allocations: 0 / 0.7928 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.007425, allocations: 4 kB / 0.7928 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.007506, allocations: 27.97 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.007509, allocations: 0.8438 kB / 0.7928 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.388e-05/0.007552, allocations: 11.88 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.007563, allocations: 9.25 kB / 0.7929 GB, free: 6.547 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: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.055e-05/0.007643, allocations: 166.3 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.007659, allocations: 17.17 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.007812, allocations: 132.3 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.007814, allocations: 1.781 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007816, allocations: 3.938 kB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.00782, allocations: 7.984 kB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.008144, allocations: 385.9 kB / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.008146, allocations: 0 / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.683e-05/0.008193, allocations: 22.55 kB / 0.7936 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.008196, allocations: 3.938 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.008205, allocations: 4 kB / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.008206, allocations: 0 / 0.7936 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.008207, allocations: 4 kB / 0.7936 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.008371, allocations: 280.3 kB / 0.7938 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.008383, allocations: 7.938 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.0084, allocations: 8.5 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.008453, allocations: 12.52 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.008487, allocations: 7.984 kB / 0.7939 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.008496, allocations: 9.922 kB / 0.7939 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.00854, allocations: 139.1 kB / 0.794 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00854, allocations: 0 / 0.794 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001617/0.008702, allocations: 28 kB / 0.7941 GB, free: 5.277 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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 9.526e-05/0.008797, allocations: 104 kB / 0.7942 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.008915, allocations: 82.61 kB / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008917, allocations: 0 / 0.7942 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.788e-05/0.008965, allocations: 48.36 kB / 0.7943 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.009143, allocations: 19.86 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005851/0.009728, allocations: 237.4 kB / 0.7945 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.009768, allocations: 67.34 kB / 0.7946 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.466e-05/0.009813, allocations: 14.78 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.299e-05/0.009876, allocations: 82.19 kB / 0.7947 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.009877, allocations: 0 / 0.7947 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of Templates: time 0.00294/0.01282, allocations: 1.304 MB / 0.796 GB, free: 3.289 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.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.929888722952455]