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.0008317/0.0008317, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001871, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007049/0.0007049, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008996/0.001605, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.023/1.023, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.129, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.914/1.914, allocations: 378.2 MB / 0.6076 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.546/2.46, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.553e-06/1.553e-06, allocations: 4.922 kB / 0.7293 GB, free: 4.508 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.221e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.504 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003079/0.003101, allocations: 1.7 MB / 0.731 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.00408, allocations: 0.5979 MB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.004139, allocations: 0 / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.00417, allocations: 11.92 kB / 0.7316 GB, free: 2.215 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.00438, allocations: 44.47 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.004542, allocations: 49.09 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.0047, allocations: 123.3 kB / 0.7318 GB, free: 2.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004802, allocations: 20.16 kB / 0.7318 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00029/0.005092, allocations: 87.8 kB / 0.7319 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.005221, allocations: 47.86 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.005248, allocations: 12.97 kB / 0.732 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.1e-05/0.005329, allocations: 12 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.005353, allocations: 19.94 kB / 0.732 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.005401, allocations: 24.81 kB / 0.732 GB, free: 1.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.005561, allocations: 79.62 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.77e-05/0.005579, allocations: 0.9062 kB / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005579, allocations: 0 / 0.7321 GB, free: 1.719 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.005598, allocations: 0 / 0.7321 GB, free: 1.719 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.0006139/0.006212, allocations: 333.8 kB / 0.7324 GB, free: 1.371 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006248, allocations: 8.625 kB / 0.7324 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.006454, allocations: 107.8 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.006563, allocations: 125.6 kB / 0.7326 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.006583, allocations: 8.375 kB / 0.7327 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.006598, allocations: 4.375 kB / 0.7327 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.006729, allocations: 89.92 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006737, allocations: 192 / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.006749, allocations: 9.219 kB / 0.7328 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.006755, allocations: 3.938 kB / 0.7328 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.006811, allocations: 20.48 kB / 0.7328 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.007222, allocations: 217.2 kB / 0.733 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.007425, allocations: 86.52 kB / 0.7331 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.007463, allocations: 29.58 kB / 0.7331 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.007477, allocations: 0 / 0.7331 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.007636, allocations: 107.3 kB / 0.7332 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.007637, allocations: 0.9375 kB / 0.7332 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0001774/0.007815, allocations: 93.66 kB / 0.7333 GB, free: 404 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.00786, allocations: 52.28 kB / 0.7333 GB, free: 340 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.044e-05/0.00794, allocations: 126.6 kB / 0.7335 GB, free: 200 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.00796, allocations: 33.69 kB / 0.7335 GB, free: 160 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.008139, allocations: 101.4 kB / 0.7336 GB, free: 56 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.00818, allocations: 43.67 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.008249, allocations: 33.84 kB / 0.7337 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.008332, allocations: 323.5 kB / 0.734 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.008367, allocations: 15.91 kB / 0.734 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.008396, allocations: 21.77 kB / 0.734 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.008473, allocations: 52.08 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.008475, allocations: 4 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001212/0.008596, allocations: 81.59 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.008612, allocations: 8 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.008617, allocations: 0.875 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.008627, allocations: 0 / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.008749, allocations: 40.75 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.008757, allocations: 7.984 kB / 0.7342 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.008816, allocations: 8.547 kB / 0.7342 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.008828, allocations: 3.984 kB / 0.7342 GB, free: 15.41 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 8.368e-05/0.008912, allocations: 125.7 kB / 0.7343 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.008932, allocations: 15.92 kB / 0.7343 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.0091, allocations: 98.14 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.009104, allocations: 4 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.009106, allocations: 0 / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.009109, allocations: 0.5312 kB / 0.7344 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003178/0.009427, allocations: 270.5 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.009429, allocations: 1.781 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.009502, allocations: 31.92 kB / 0.7347 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.844e-05/0.00952, allocations: 11.89 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.009523, allocations: 0 / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.009532, allocations: 5.203 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.009535, allocations: 0 / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.009537, allocations: 4 kB / 0.7347 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.009692, allocations: 191.3 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.009715, allocations: 4.75 kB / 0.7349 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.588e-05/0.0098, allocations: 12.52 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.009837, allocations: 7.984 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.009848, allocations: 8.734 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.761e-05/0.009875, allocations: 20.84 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.009875, allocations: 1.344 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002134/0.01009, allocations: 27.98 kB / 0.735 GB, free: 14.53 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 0.0001116/0.0102, allocations: 93.2 kB / 0.7351 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01033, allocations: 70.23 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.01034, allocations: 2.625 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.0104, allocations: 44.77 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01057, allocations: 27.92 kB / 0.7352 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.01251, allocations: 246 kB / 0.7355 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01256, allocations: 63.34 kB / 0.7355 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.517e-05/0.01261, allocations: 10.61 kB / 0.7355 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.01269, allocations: 67.3 kB / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.01269, allocations: 0 / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.003633/0.01632, allocations: 1.248 MB / 0.7368 GB, free: 12.68 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.180493460968137]