Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001421/0.001421, 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.001843/0.001843, allocations: 221.1 kB / 22.99 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.187/3.187, allocations: 0.4892 GB / 0.7951 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_12_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_12_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.002083/0.002083, allocations: 72.64 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3309, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002982/0.3339, allocations: 1.468 MB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.335, allocations: 0.522 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.3351, allocations: 4 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.3351, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.3354, allocations: 19.84 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3355, allocations: 35.91 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.3356, allocations: 51.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3357, allocations: 11.92 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.3359, allocations: 31.86 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.336, allocations: 19.91 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.336, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.3361, allocations: 19.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3361, allocations: 8 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.327e-05/0.3361, allocations: 15.92 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.3363, allocations: 55.86 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3363, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3363, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3363, allocations: 0 / 1.329 GB, free: 15.62 MB / 1.029 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.0006653/0.337, allocations: 278.2 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.337, allocations: 12.03 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3372, allocations: 12.89 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.3373, allocations: 122.5 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3374, allocations: 4.375 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3374, allocations: 4.375 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3375, allocations: 57.92 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3375, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3376, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3376, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.3376, allocations: 23.98 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.338, allocations: 220.4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.3383, allocations: 66.61 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.3384, allocations: 20.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3384, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.3386, allocations: 67.38 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3386, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003021/0.3389, allocations: 97.75 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.339, allocations: 51.41 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3391, allocations: 109.8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3391, allocations: 25.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.3392, allocations: 88.14 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3393, allocations: 19.78 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.3393, allocations: 21.72 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3395, allocations: 322.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.3395, allocations: 12.06 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.815e-05/0.3396, allocations: 19.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.3397, allocations: 40.73 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3397, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.3398, allocations: 73.73 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3399, allocations: 8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3399, allocations: 240 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3399, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.34, allocations: 12 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.34, allocations: 7.984 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.3401, allocations: 7.984 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.3401, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 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 0.0001447/0.3402, allocations: 122.2 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3402, allocations: 7.953 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.3405, allocations: 101.6 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3405, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3405, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3405, allocations: 3.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3407, allocations: 125.2 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3407, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.3407, allocations: 11.98 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3407, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.3408, allocations: 8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3408, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3408, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.341, allocations: 125 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.341, allocations: 96 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.341, allocations: 11.92 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.3411, allocations: 4 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3411, allocations: 11.98 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3412, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.3412, allocations: 87.28 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3412, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002072/0.3414, allocations: 8 kB / 1.331 GB, free: 12.98 MB / 1.029 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.0002165/0.3416, allocations: 107.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3418, allocations: 43.98 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3419, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.3419, allocations: 27.92 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.3421, allocations: 15.94 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.3428, allocations: 163.3 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3429, allocations: 79.23 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.343, allocations: 15.42 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.343, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of Templates: time 0.003934/0.3469, allocations: 0.8589 MB / 1.332 GB, free: 11.61 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.970669388305396]