Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001942/0.001942, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.89 kB / 1.059 GB, free: 324 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3469, allocations: 160.7 MB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00272/0.3496, allocations: 1.455 MB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.3505, allocations: 0.5114 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.194e-05/0.3506, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.3506, allocations: 3.938 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.3508, allocations: 31.84 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000112/0.351, allocations: 27.91 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.139e-05/0.351, allocations: 39.92 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.3511, allocations: 15.97 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.241e-05/0.3512, allocations: 27.88 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.3513, allocations: 23.91 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.3513, allocations: 4 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.3514, allocations: 4 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.3514, allocations: 15.97 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.3514, allocations: 11.94 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3515, allocations: 51.73 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3515, allocations: 4 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3515, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3515, allocations: 0 / 1.218 GB, free: 13.04 MB / 0.9669 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.000654/0.3522, allocations: 355.3 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3522, allocations: 16.03 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3523, allocations: 4.891 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3524, allocations: 172.3 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.3525, allocations: 8.359 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3525, allocations: 4.375 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.3526, allocations: 57.98 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3526, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3526, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3526, allocations: 0 / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.3527, allocations: 27.97 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3532, allocations: 280.7 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.3534, allocations: 62.67 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.659e-05/0.3534, allocations: 20.84 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3535, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.3536, allocations: 75.33 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3536, allocations: 0 / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002721/0.3539, allocations: 93.66 kB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.354, allocations: 51.41 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.3541, allocations: 101.9 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3541, allocations: 29.7 kB / 1.22 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3541, allocations: 84.12 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3542, allocations: 23.92 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.3542, allocations: 25.7 kB / 1.22 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3544, allocations: 318.8 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.3544, allocations: 11.98 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.3544, allocations: 16 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.872e-05/0.3545, allocations: 44.78 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3545, allocations: 0 / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001206/0.3546, allocations: 65.69 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3546, allocations: 4 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.3546, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3547, allocations: 12.12 kB / 1.22 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.97e-05/0.3547, allocations: 11.98 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3548, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.3548, allocations: 7.891 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3548, allocations: 7.984 kB / 1.22 GB, free: 10.86 MB / 0.9669 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.0001065/0.3549, allocations: 125.7 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.355, allocations: 0 / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.3552, allocations: 113.5 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3552, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3552, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3552, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3554, allocations: 185.5 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3554, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.974e-05/0.3554, allocations: 8 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3554, allocations: 0 / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3555, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3555, allocations: 0 / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3555, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.3556, allocations: 121 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3557, allocations: 85.05 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3557, allocations: 4 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.3558, allocations: 256 / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.3558, allocations: 11.98 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3559, allocations: 8 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.3559, allocations: 83.28 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3559, allocations: 4 kB / 1.221 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001943/0.3561, allocations: 8 kB / 1.221 GB, free: 10 MB / 0.9669 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.0001393/0.3562, allocations: 107.2 kB / 1.221 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.3564, allocations: 47.92 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3564, allocations: 0 / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.744e-05/0.3565, allocations: 31.92 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.3566, allocations: 12.31 kB / 1.221 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.357, allocations: 167 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.3575, allocations: 0.6846 MB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.182e-05/0.3575, allocations: 7.984 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.3576, allocations: 11.44 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.3576, allocations: 3.938 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of Templates: time 0.003716/0.3613, allocations: 0.7065 MB / 1.223 GB, free: 8.18 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.485063839703798]