Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.002044/0.002044, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001839/0.001839, allocations: 164.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.571/1.571, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.739/2.739, allocations: 359 MB / 0.6037 GB, free: 14.92 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.737e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003086/0.003113, allocations: 1.459 MB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.004291, allocations: 0.5265 MB / 0.9529 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.004339, allocations: 0 / 0.9529 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.004378, allocations: 11.86 kB / 0.9529 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002599/0.004637, allocations: 15.94 kB / 0.9529 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004814, allocations: 35.83 kB / 0.953 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.004928, allocations: 63.77 kB / 0.953 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.005027, allocations: 4 kB / 0.953 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.005215, allocations: 35.97 kB / 0.9531 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.005306, allocations: 27.89 kB / 0.9531 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.00533, allocations: 4 kB / 0.9531 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.005403, allocations: 12 kB / 0.9531 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.005431, allocations: 11.97 kB / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.183e-05/0.005483, allocations: 19.92 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.005642, allocations: 63.78 kB / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005645, allocations: 0 / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.42e-07/0.005645, allocations: 4 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.005652, allocations: 0 / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006594/0.006312, allocations: 286.2 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.006354, allocations: 8.031 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.006541, allocations: 12.89 kB / 0.9535 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.006676, allocations: 113.7 kB / 0.9536 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.006697, allocations: 4.375 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.006712, allocations: 8.375 kB / 0.9536 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.006858, allocations: 62.17 kB / 0.9537 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006869, allocations: 192 / 0.9537 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.006883, allocations: 4.359 kB / 0.9537 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.006888, allocations: 3.938 kB / 0.9537 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/0.006964, allocations: 27.97 kB / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.007428, allocations: 232.4 kB / 0.9539 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.007679, allocations: 66.67 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/0.007725, allocations: 16.86 kB / 0.954 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.007745, allocations: 8 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.007954, allocations: 75.25 kB / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.007955, allocations: 0 / 0.9541 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002833/0.008239, allocations: 97.73 kB / 0.9542 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.008294, allocations: 59.39 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.008388, allocations: 101.8 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.008413, allocations: 33.7 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.008468, allocations: 88.08 kB / 0.9545 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.0085, allocations: 15.91 kB / 0.9545 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.008549, allocations: 21.7 kB / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.008697, allocations: 322.8 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.008744, allocations: 15.98 kB / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.994e-05/0.008784, allocations: 23.94 kB / 0.9549 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.152e-05/0.008875, allocations: 44.97 kB / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008877, allocations: 0 / 0.9549 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001589/0.009036, allocations: 89.52 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.009052, allocations: 7.984 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.009057, allocations: 0 / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.009072, allocations: 0 / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.009149, allocations: 8 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009153, allocations: 0 / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.87e-05/0.009232, allocations: 19.92 kB / 0.955 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.009248, allocations: 8 kB / 0.955 GB, free: 7.176 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 9.713e-05/0.009345, allocations: 117.8 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.009365, allocations: 7.891 kB / 0.9551 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.00959, allocations: 105.8 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009592, allocations: 0 / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.009596, allocations: 0 / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009599, allocations: 7.875 kB / 0.9552 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.009734, allocations: 121.3 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.009736, allocations: 4 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.009803, allocations: 15.98 kB / 0.9554 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.009807, allocations: 3.938 kB / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.009819, allocations: 0 / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00982, allocations: 0 / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.009821, allocations: 192 / 0.9554 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.01001, allocations: 128.9 kB / 0.9555 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.422e-05/0.01003, allocations: 3.938 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01005, allocations: 15.92 kB / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.01012, allocations: 0 / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01016, allocations: 7.984 kB / 0.9555 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.01016, allocations: 8 kB / 0.9555 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.01022, allocations: 87.27 kB / 0.9556 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01022, allocations: 0 / 0.9556 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002039/0.01042, allocations: 19.95 kB / 0.9556 GB, free: 6.469 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,eqnTim.tNext,eqnTim.k) * Number of discrete states: 2 (eqnTim.k,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000119/0.01054, allocations: 99.19 kB / 0.9557 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.01071, allocations: 51.92 kB / 0.9558 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01071, allocations: 0 / 0.9558 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.709e-05/0.01078, allocations: 31.92 kB / 0.9558 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.01094, allocations: 10.66 kB / 0.9558 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.01131, allocations: 148.8 kB / 0.956 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.261e-05/0.01137, allocations: 71.33 kB / 0.956 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01141, allocations: 4 kB / 0.956 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.01145, allocations: 16.48 kB / 0.9561 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of SimCode: time 4.51e-07/0.01145, allocations: 4 kB / 0.9561 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of Templates: time 0.003439/0.01489, allocations: 0.7379 MB / 0.9568 GB, free: 5.266 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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: 7.883334822952747]