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.001358/0.001358, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001569/0.001569, allocations: 224.4 kB / 23 MB, free: 4.914 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.813/2.813, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 67.97 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 170 MB / 1.284 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00291/0.3351, allocations: 1.464 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3363, allocations: 0.52 MB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.3363, allocations: 0 / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.3363, allocations: 3.984 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/0.3366, allocations: 19.86 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.3367, allocations: 35.89 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.3368, allocations: 55.78 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.976e-05/0.3369, allocations: 7.938 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3371, allocations: 31.91 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.3372, allocations: 23.91 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.3372, allocations: 4 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.398e-05/0.3372, allocations: 12 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.3372, allocations: 7.938 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3373, allocations: 19.91 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3374, allocations: 51.81 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3374, allocations: 0 / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3374, allocations: 4 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3374, allocations: 0 / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005771/0.338, allocations: 286.2 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.338, allocations: 8.031 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.3382, allocations: 20.92 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.3384, allocations: 118.4 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3384, allocations: 384 / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3384, allocations: 8.375 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.3385, allocations: 57.98 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3385, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3385, allocations: 4 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3385, allocations: 0 / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.3386, allocations: 27.95 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.339, allocations: 212.5 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3392, allocations: 70.55 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.3393, allocations: 16.86 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3393, allocations: 0 / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3394, allocations: 71.38 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.3395, allocations: 4 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002438/0.3397, allocations: 93.56 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.3398, allocations: 55.41 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.3399, allocations: 101.8 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3399, allocations: 29.7 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.3399, allocations: 88.08 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.34, allocations: 19.95 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.34, allocations: 21.72 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3402, allocations: 314.8 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.053e-05/0.3402, allocations: 16 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.3402, allocations: 19.97 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.329e-05/0.3403, allocations: 44.73 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3403, allocations: 0 / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000132/0.3405, allocations: 77.62 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.3405, allocations: 4 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3405, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3405, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.3406, allocations: 11.98 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3406, allocations: 0 / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.923e-05/0.3407, allocations: 4 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3407, allocations: 7.938 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (7): * Single equations (assignments): 7 * 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.184e-05/0.3408, allocations: 121.7 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.3408, allocations: 7.953 kB / 1.288 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.341, allocations: 105.7 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.341, allocations: 3.938 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.341, allocations: 256 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.341, allocations: 3.984 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.3411, allocations: 129.2 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3411, allocations: 0 / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3412, allocations: 12 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3412, allocations: 4 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3412, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3412, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3412, allocations: 0 / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3414, allocations: 128.9 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.3414, allocations: 3.984 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.3414, allocations: 8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.3415, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3415, allocations: 7.984 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.3415, allocations: 4 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.185e-05/0.3416, allocations: 91.27 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3416, allocations: 3.938 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001875/0.3418, allocations: 8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001152/0.3419, allocations: 103.6 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.342, allocations: 43.92 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.342, allocations: 192 / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.3421, allocations: 35.86 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.3422, allocations: 7.938 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3426, allocations: 167.3 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.3427, allocations: 63.34 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3427, allocations: 15.42 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3427, allocations: 0 / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of Templates: time 0.002425/0.3451, allocations: 0.8517 MB / 1.29 GB, free: 5.691 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 10.798047862015665]