Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009113/0.0009113, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0009916/0.0009916, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.903/0.903, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.614e-05, allocations: 10.22 kB / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001866/0.001892, allocations: 1.598 MB / 0.9838 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007457/0.002638, allocations: 0.5803 MB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.002687, allocations: 0 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.002718, allocations: 7.875 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.00295, allocations: 39.77 kB / 0.9844 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.003082, allocations: 47.81 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.003194, allocations: 123.6 kB / 0.9845 GB, free: 15.67 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.00331, allocations: 12.22 kB / 0.9845 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.003471, allocations: 83.8 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.003561, allocations: 39.88 kB / 0.9847 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.003581, allocations: 8 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.526e-05/0.003636, allocations: 27.92 kB / 0.9847 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.003664, allocations: 23.91 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.003716, allocations: 39.91 kB / 0.9848 GB, free: 15.44 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003883, allocations: 123.6 kB / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003885, allocations: 0 / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003886, allocations: 0 / 0.9849 GB, free: 15.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.00389, allocations: 0 / 0.9849 GB, free: 15.32 MB / 0.948 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.0005365/0.004427, allocations: 338 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.004459, allocations: 8.031 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.004573, allocations: 28.81 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/0.004667, allocations: 121.6 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.004684, allocations: 12.36 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.004698, allocations: 8.375 kB / 0.9854 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004827, allocations: 90.11 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.004834, allocations: 192 / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.004848, allocations: 16.3 kB / 0.9855 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004853, allocations: 3.938 kB / 0.9855 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.004934, allocations: 51.97 kB / 0.9855 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.005349, allocations: 300.3 kB / 0.9858 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.005561, allocations: 118.7 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.005616, allocations: 44.83 kB / 0.986 GB, free: 14.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.005629, allocations: 0 / 0.986 GB, free: 14.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.005771, allocations: 103.3 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.005773, allocations: 4 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0002474/0.00602, allocations: 159.7 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.006054, allocations: 59.34 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.878e-05/0.006123, allocations: 125.8 kB / 0.9864 GB, free: 13.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.006137, allocations: 29.7 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.006177, allocations: 100.1 kB / 0.9865 GB, free: 13.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.006207, allocations: 35.7 kB / 0.9866 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.006246, allocations: 37.64 kB / 0.9866 GB, free: 13.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.006318, allocations: 322.8 kB / 0.9869 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.006366, allocations: 35.98 kB / 0.9869 GB, free: 13.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.581e-05/0.006412, allocations: 42.31 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.006501, allocations: 76.86 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.006505, allocations: 3.938 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002211/0.006726, allocations: 144.4 kB / 0.9872 GB, free: 12.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006737, allocations: 4 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006741, allocations: 4 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.006754, allocations: 8 kB / 0.9872 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.006826, allocations: 19.98 kB / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.00683, allocations: 0 / 0.9872 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.006885, allocations: 19.88 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006894, allocations: 4 kB / 0.9872 GB, free: 12.72 MB / 0.948 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 6.611e-05/0.00696, allocations: 129.7 kB / 0.9874 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.006971, allocations: 7.953 kB / 0.9874 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.007158, allocations: 162 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007161, allocations: 4 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007165, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.007168, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.007487, allocations: 408.2 kB / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007489, allocations: 0 / 0.9879 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.00753, allocations: 12 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.007533, allocations: 7.938 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.007543, allocations: 7.984 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007544, allocations: 0 / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007545, allocations: 0 / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.007705, allocations: 251.3 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.007716, allocations: 7.953 kB / 0.9882 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.007733, allocations: 8 kB / 0.9882 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.007795, allocations: 7.984 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.007834, allocations: 15.97 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.007841, allocations: 4 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.007884, allocations: 107.6 kB / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007884, allocations: 0 / 0.9883 GB, free: 11.54 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001656/0.00805, allocations: 31.95 kB / 0.9884 GB, free: 11.5 MB / 0.948 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 7.562e-05/0.008126, allocations: 103.2 kB / 0.9885 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.008276, allocations: 105.9 kB / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008277, allocations: 0 / 0.9886 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-05/0.008336, allocations: 51.91 kB / 0.9886 GB, free: 11.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.008502, allocations: 12 kB / 0.9886 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.008829, allocations: 243 kB / 0.9889 GB, free: 10.96 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.365e-05/0.008883, allocations: 89.44 kB / 0.9889 GB, free: 10.85 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.008922, allocations: 16.5 kB / 0.989 GB, free: 10.83 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.008923, allocations: 0 / 0.989 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Templates: time 0.00191/0.01083, allocations: 1.427 MB / 0.9904 GB, free: 9.41 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.680754196830094]