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.002069/0.002069, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002032/0.002032, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.983/2.983, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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 1.392e-06/1.392e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.694e-05, allocations: 6.328 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003035/0.003062, allocations: 1.631 MB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004239, allocations: 0.5736 MB / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.238e-05/0.004291, allocations: 0 / 0.7885 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.004327, allocations: 11.86 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.004591, allocations: 35.77 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.004755, allocations: 56.77 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.004919, allocations: 115.6 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.005023, allocations: 16.8 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.00524, allocations: 85.08 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.005372, allocations: 43.88 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.005406, allocations: 12 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.005468, allocations: 12 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.005514, allocations: 33.42 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.005579, allocations: 27.92 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.00579, allocations: 119.6 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005793, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005793, allocations: 1.469 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.005798, allocations: 4 kB / 0.7891 GB, free: 10 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.0008608/0.006659, allocations: 442.4 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.0067, allocations: 15.97 kB / 0.7895 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.006915, allocations: 28.83 kB / 0.7896 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.007081, allocations: 128.5 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.0071, allocations: 4.375 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.007124, allocations: 12.91 kB / 0.7897 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.007317, allocations: 86.92 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.007325, allocations: 192 / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.007341, allocations: 13.8 kB / 0.7898 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.007353, allocations: 7.938 kB / 0.7898 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.007477, allocations: 47.97 kB / 0.7898 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.008189, allocations: 364.1 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.008545, allocations: 132.1 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.008646, allocations: 55.67 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.008666, allocations: 0.75 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.008888, allocations: 116.9 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.008889, allocations: 4.531 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004051/0.009294, allocations: 166.9 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.009349, allocations: 55.41 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.009519, allocations: 189.9 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.009548, allocations: 33.64 kB / 0.7909 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.009651, allocations: 144.4 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.009707, allocations: 47.67 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/0.009785, allocations: 43.36 kB / 0.7911 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002816/0.01007, allocations: 0.4962 MB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.46e-05/0.01016, allocations: 40.86 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.983e-05/0.01024, allocations: 38.27 kB / 0.7917 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.0104, allocations: 84.52 kB / 0.7918 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01041, allocations: 7.938 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002622/0.01067, allocations: 152 kB / 0.7919 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01068, allocations: 6.125 kB / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.01069, allocations: 0 / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.0107, allocations: 0 / 0.7919 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01084, allocations: 31.92 kB / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.01085, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.01095, allocations: 16.42 kB / 0.792 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.01096, allocations: 4 kB / 0.792 GB, free: 6.848 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 0.0001688/0.01113, allocations: 173 kB / 0.7921 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.01116, allocations: 11.95 kB / 0.7922 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.01149, allocations: 166.8 kB / 0.7923 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.0115, allocations: 4 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.0115, allocations: 1.688 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.0115, allocations: 0 / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006346/0.01214, allocations: 452.2 kB / 0.7928 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01214, allocations: 4 kB / 0.7928 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.01223, allocations: 19.92 kB / 0.7928 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01223, allocations: 0.5 kB / 0.7928 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.01225, allocations: 8.562 kB / 0.7928 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01225, allocations: 0 / 0.7928 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01225, allocations: 1.531 kB / 0.7928 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.01265, allocations: 315.6 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.01267, allocations: 7.953 kB / 0.7931 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.0127, allocations: 4 kB / 0.7931 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.01281, allocations: 9.047 kB / 0.7931 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.01287, allocations: 15.97 kB / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.01289, allocations: 16.53 kB / 0.7931 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001267/0.01301, allocations: 143.2 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01301, allocations: 0.9062 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002405/0.01325, allocations: 28 kB / 0.7933 GB, free: 5.434 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 0.0001791/0.01343, allocations: 107 kB / 0.7934 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.01371, allocations: 119.4 kB / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01371, allocations: 0 / 0.7935 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.01383, allocations: 65.64 kB / 0.7936 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01406, allocations: 11.98 kB / 0.7936 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.01461, allocations: 234.3 kB / 0.7938 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01471, allocations: 86.59 kB / 0.7939 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.111e-05/0.01477, allocations: 19.08 kB / 0.7939 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.01484, allocations: 16.5 kB / 0.7939 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01484, allocations: 0 / 0.7939 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.004624/0.01946, allocations: 1.227 MB / 0.7951 GB, free: 3.516 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.10804455599282]