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.001056/0.001056, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001662/0.002718, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001193/0.001193, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002674, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9501/0.9501, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08431/1.034, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.43/2.43, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2538/2.684, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.413e-06/1.413e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.994e-05, allocations: 8.641 kB / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001922/0.001942, allocations: 1.689 MB / 0.82 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.00259, allocations: 0.5996 MB / 0.8205 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.00263, allocations: 4 kB / 0.8206 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.002656, allocations: 7.922 kB / 0.8206 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.002795, allocations: 39.66 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.002903, allocations: 55.78 kB / 0.8206 GB, free: 480 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.745e-05/0.003001, allocations: 115.6 kB / 0.8208 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.003087, allocations: 20.19 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.003238, allocations: 95.8 kB / 0.8209 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.003329, allocations: 43.88 kB / 0.8209 GB, free: 200 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.003349, allocations: 12 kB / 0.8209 GB, free: 188 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.731e-05/0.003416, allocations: 19.98 kB / 0.8209 GB, free: 168 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.003437, allocations: 15.94 kB / 0.821 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.003471, allocations: 27.94 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.00359, allocations: 71.7 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.003604, allocations: 0 / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003605, allocations: 0 / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.003617, allocations: 0 / 0.8211 GB, free: 52 kB / 0.7917 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.0004851/0.004102, allocations: 344.1 kB / 0.8214 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.004133, allocations: 8.031 kB / 0.8214 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.00428, allocations: 102 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.004366, allocations: 129.6 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004379, allocations: 4.375 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.00439, allocations: 8.375 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.004489, allocations: 86.89 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.004496, allocations: 8.172 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.004505, allocations: 8.375 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.00451, allocations: 3.938 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.815e-05/0.004549, allocations: 19.98 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.004855, allocations: 224.1 kB / 0.822 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.005002, allocations: 82.52 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.005028, allocations: 24.8 kB / 0.8221 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005042, allocations: 4 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.005154, allocations: 95.19 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.005156, allocations: 8 kB / 0.8222 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001374/0.005293, allocations: 85.66 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.00533, allocations: 59.41 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/0.00539, allocations: 122.6 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.005406, allocations: 37.69 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.005441, allocations: 92.03 kB / 0.8225 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.00547, allocations: 43.61 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.005511, allocations: 37.69 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.005597, allocations: 318.8 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.005617, allocations: 12 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.005637, allocations: 22.95 kB / 0.823 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.757e-05/0.005695, allocations: 64.7 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005697, allocations: 0 / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.525e-05/0.005782, allocations: 91.47 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.005794, allocations: 4 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.005798, allocations: 0 / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.005806, allocations: 0 / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.005895, allocations: 35.91 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.005898, allocations: 4 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.00594, allocations: 7.953 kB / 0.8232 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.005949, allocations: 4 kB / 0.8232 GB, free: 13.72 MB / 0.8073 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.202e-05/0.006011, allocations: 117.8 kB / 0.8233 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/0.006024, allocations: 19.86 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006138, allocations: 104.1 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006141, allocations: 7.938 kB / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006143, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.006146, allocations: 0 / 0.8234 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.006373, allocations: 274.6 kB / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006375, allocations: 0 / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.006421, allocations: 19.98 kB / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.006628, allocations: 15.89 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.00663, allocations: 0 / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.006636, allocations: 4 kB / 0.8237 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.00664, allocations: 7.984 kB / 0.8237 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006641, allocations: 0 / 0.8237 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001021/0.006743, allocations: 197 kB / 0.8239 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.006761, allocations: 4 kB / 0.8239 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.006811, allocations: 7.984 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.006842, allocations: 11.98 kB / 0.8239 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.006849, allocations: 7.984 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.006866, allocations: 16.86 kB / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006866, allocations: 0 / 0.8239 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000124/0.00699, allocations: 31.98 kB / 0.824 GB, free: 12.83 MB / 0.8073 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 8.517e-05/0.007075, allocations: 80.42 kB / 0.824 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.007175, allocations: 68.75 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.007182, allocations: 4 kB / 0.8241 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.007224, allocations: 46.88 kB / 0.8242 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.007342, allocations: 23.92 kB / 0.8242 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.008695, allocations: 252.5 kB / 0.8244 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.008733, allocations: 67.34 kB / 0.8245 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.008774, allocations: 8.969 kB / 0.8245 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.008835, allocations: 71.36 kB / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.008835, allocations: 0 / 0.8246 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.002791/0.01163, allocations: 1.265 MB / 0.8258 GB, free: 10.92 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.ref.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.1903910441324115]