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.001119/0.001119, allocations: 81.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001741/0.00286, allocations: 453.9 kB / 10.45 MB, free: 244 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.001127/0.001127, allocations: 157.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.002197, allocations: 475.6 kB / 11.82 MB, free: 2.344 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.9608/0.9608, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09576/1.057, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.885/1.885, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5331/2.418, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.943e-06/1.943e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.433e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003077/0.003101, allocations: 1.7 MB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009078/0.004009, allocations: 0.6095 MB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.004057, allocations: 1.422 kB / 0.7319 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.004087, allocations: 7.922 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.004256, allocations: 44.41 kB / 0.732 GB, free: 2.094 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.004388, allocations: 44.64 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.004542, allocations: 120.6 kB / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.004642, allocations: 16.66 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.004844, allocations: 92.61 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.004961, allocations: 51.86 kB / 0.7323 GB, free: 1.781 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.004984, allocations: 9.438 kB / 0.7323 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.005063, allocations: 16 kB / 0.7323 GB, free: 1.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.005092, allocations: 15.94 kB / 0.7323 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.005139, allocations: 31.94 kB / 0.7324 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.005288, allocations: 72.41 kB / 0.7324 GB, free: 1.641 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.005303, allocations: 7.984 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005304, allocations: 0.6875 kB / 0.7324 GB, free: 1.633 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.00532, allocations: 1.719 kB / 0.7324 GB, free: 1.633 MB / 0.698 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.0006165/0.005936, allocations: 320.2 kB / 0.7327 GB, free: 1.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.005968, allocations: 12.91 kB / 0.7327 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.006169, allocations: 102.7 kB / 0.7328 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.006279, allocations: 129.6 kB / 0.733 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.006296, allocations: 5.375 kB / 0.733 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.006317, allocations: 12.38 kB / 0.733 GB, free: 1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.006452, allocations: 83.67 kB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.006462, allocations: 1.062 kB / 0.7331 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.006474, allocations: 8.375 kB / 0.7331 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.006484, allocations: 8.562 kB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.39e-05/0.006538, allocations: 27.36 kB / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.006929, allocations: 208.8 kB / 0.7333 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.007127, allocations: 96.14 kB / 0.7334 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.007176, allocations: 28.83 kB / 0.7334 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.007189, allocations: 4 kB / 0.7334 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.007337, allocations: 90.56 kB / 0.7335 GB, free: 428 kB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.007339, allocations: 0 / 0.7335 GB, free: 428 kB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0001862/0.007525, allocations: 94.53 kB / 0.7336 GB, free: 328 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.007569, allocations: 59.41 kB / 0.7337 GB, free: 256 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.007649, allocations: 127.2 kB / 0.7338 GB, free: 116 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.00767, allocations: 29.7 kB / 0.7338 GB, free: 80 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.254e-05/0.007722, allocations: 93.16 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.97e-05/0.007762, allocations: 39.67 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.007815, allocations: 37.84 kB / 0.734 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.007913, allocations: 327.5 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.007947, allocations: 19.89 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.007976, allocations: 12.53 kB / 0.7343 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.008055, allocations: 49.75 kB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008057, allocations: 0 / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001322/0.008189, allocations: 96.34 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.008203, allocations: 5.219 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.008207, allocations: 0 / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.008219, allocations: 4 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.008341, allocations: 33.75 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.008346, allocations: 3.984 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.008408, allocations: 11.95 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.008418, allocations: 7.938 kB / 0.7345 GB, free: 15.33 MB / 0.7136 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 7.621e-05/0.008495, allocations: 123 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.008514, allocations: 11.92 kB / 0.7347 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.008665, allocations: 106.9 kB / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.008667, allocations: 0 / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.008669, allocations: 0.7812 kB / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008674, allocations: 7.984 kB / 0.7348 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.008976, allocations: 269.5 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.008977, allocations: 0 / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.009051, allocations: 19.98 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.009069, allocations: 12.42 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.009073, allocations: 4.719 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.009084, allocations: 7.984 kB / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.009088, allocations: 5.156 kB / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009088, allocations: 0 / 0.7351 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.009242, allocations: 191.3 kB / 0.7353 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.009264, allocations: 5.031 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.009353, allocations: 7.984 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.009392, allocations: 11.98 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.009402, allocations: 8.547 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.00943, allocations: 23 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.00943, allocations: 4 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002329/0.009663, allocations: 24 kB / 0.7353 GB, free: 14.45 MB / 0.7136 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.506e-05/0.009758, allocations: 89.67 kB / 0.7354 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.009899, allocations: 74.84 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.009908, allocations: 4 kB / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.009985, allocations: 51.58 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.01017, allocations: 31.86 kB / 0.7356 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.0123, allocations: 239.5 kB / 0.7358 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.01234, allocations: 67.34 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.567e-05/0.0124, allocations: 11.33 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/0.01249, allocations: 68.11 kB / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of SimCode: time 7.91e-07/0.01249, allocations: 0 / 0.7359 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of Templates: time 0.003518/0.01601, allocations: 1.269 MB / 0.7372 GB, free: 12.57 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.941430200822651]