Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001374/0.001374, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001547/0.001547, allocations: 169 kB / 23.27 MB, free: 1.223 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.9334/0.9334, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.339/2.339, allocations: 438.1 MB / 0.682 GB, free: 14.11 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.434e-05, allocations: 9.547 kB / 0.8898 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002056/0.00207, allocations: 1.657 MB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007412/0.002811, allocations: 0.5881 MB / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.002856, allocations: 0 / 0.892 GB, free: 7.426 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.002883, allocations: 7.922 kB / 0.892 GB, free: 7.418 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.00309, allocations: 43.64 kB / 0.892 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003212, allocations: 43.88 kB / 0.892 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.003311, allocations: 119.6 kB / 0.8922 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.396e-05/0.003395, allocations: 28.14 kB / 0.8922 GB, free: 7.184 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.003533, allocations: 67.88 kB / 0.8922 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.003618, allocations: 51.86 kB / 0.8923 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.003637, allocations: 8 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.776e-05/0.003685, allocations: 16 kB / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.003709, allocations: 31.89 kB / 0.8923 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.003744, allocations: 31.92 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.00386, allocations: 91.64 kB / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.003862, allocations: 0 / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003863, allocations: 0 / 0.8925 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.003866, allocations: 4 kB / 0.8925 GB, free: 6.887 MB / 0.8542 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.0004393/0.004305, allocations: 440.2 kB / 0.8929 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.004337, allocations: 12.02 kB / 0.8929 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.004449, allocations: 24.89 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.556e-05/0.004525, allocations: 132.4 kB / 0.8931 GB, free: 6.23 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.004537, allocations: 8.375 kB / 0.8931 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.004548, allocations: 8.312 kB / 0.8931 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.363e-05/0.004642, allocations: 86.91 kB / 0.8932 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.004647, allocations: 192 / 0.8932 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.004657, allocations: 8.359 kB / 0.8932 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.004662, allocations: 3.938 kB / 0.8932 GB, free: 6.109 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.004703, allocations: 29.84 kB / 0.8932 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.005045, allocations: 336 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.005203, allocations: 91.2 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.005236, allocations: 39.66 kB / 0.8936 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.00525, allocations: 3.938 kB / 0.8936 GB, free: 5.578 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.005353, allocations: 96.98 kB / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.042e-06/0.005354, allocations: 0 / 0.8937 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0001885/0.005542, allocations: 129.5 kB / 0.8939 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.005576, allocations: 59.41 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.333e-05/0.005649, allocations: 173.9 kB / 0.8941 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.005663, allocations: 29.7 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.005713, allocations: 146.8 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.005745, allocations: 39.67 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.005789, allocations: 47.34 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.005887, allocations: 0.4923 MB / 0.8948 GB, free: 4.297 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.005912, allocations: 19.98 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.005933, allocations: 15.98 kB / 0.8948 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.88e-05/0.005992, allocations: 57.84 kB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005993, allocations: 3.938 kB / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001049/0.006098, allocations: 113.6 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.006108, allocations: 7.984 kB / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.006113, allocations: 0 / 0.895 GB, free: 4.074 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.006123, allocations: 4 kB / 0.895 GB, free: 4.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.006197, allocations: 23.98 kB / 0.895 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006199, allocations: 0 / 0.895 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.006246, allocations: 19.89 kB / 0.8951 GB, free: 4.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.006255, allocations: 11.98 kB / 0.8951 GB, free: 4.016 MB / 0.8542 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.552e-05/0.00632, allocations: 166.4 kB / 0.8952 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.006335, allocations: 15.89 kB / 0.8953 GB, free: 3.828 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.006467, allocations: 130 kB / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006469, allocations: 0 / 0.8954 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.006472, allocations: 3.984 kB / 0.8954 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006476, allocations: 0 / 0.8954 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.006748, allocations: 399.5 kB / 0.8958 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006749, allocations: 4 kB / 0.8958 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.006792, allocations: 16 kB / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.006793, allocations: 0 / 0.8958 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.006802, allocations: 7.984 kB / 0.8958 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006804, allocations: 0 / 0.8958 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.006805, allocations: 4 kB / 0.8958 GB, free: 3.238 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.006956, allocations: 275.6 kB / 0.8961 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.006968, allocations: 11.91 kB / 0.8961 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.006985, allocations: 7.984 kB / 0.8961 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.007038, allocations: 8 kB / 0.8961 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.007069, allocations: 11.97 kB / 0.8961 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.007077, allocations: 12 kB / 0.8961 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.007116, allocations: 135.2 kB / 0.8962 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007116, allocations: 0 / 0.8962 GB, free: 2.766 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001515/0.007267, allocations: 27.94 kB / 0.8963 GB, free: 2.738 MB / 0.8542 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 6.753e-05/0.007335, allocations: 111.2 kB / 0.8964 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.936e-05/0.007434, allocations: 73.42 kB / 0.8964 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.007435, allocations: 3.938 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.632e-05/0.007482, allocations: 47.59 kB / 0.8965 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.007635, allocations: 23.92 kB / 0.8965 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005397/0.008174, allocations: 232 kB / 0.8967 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.457e-05/0.008209, allocations: 67.34 kB / 0.8968 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.008244, allocations: 4.984 kB / 0.8968 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.008306, allocations: 94.19 kB / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.008307, allocations: 0 / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of Templates: time 0.002731/0.01104, allocations: 1.309 MB / 0.8982 GB, free: 0.7383 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.219732067082077]