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.001308/0.001308, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001418/0.001418, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.478/1.478, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002311/0.002311, allocations: 59.89 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.8643, allocations: 160.8 MB / 1.218 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002985/0.8673, allocations: 1.478 MB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.8684, allocations: 0.507 MB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.8684, allocations: 1.375 kB / 1.22 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.8685, allocations: 3.938 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.8687, allocations: 25.44 kB / 1.22 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.8688, allocations: 32.7 kB / 1.22 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.005e-05/0.8689, allocations: 41.02 kB / 1.221 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.913e-05/0.869, allocations: 14.33 kB / 1.221 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.738e-05/0.8691, allocations: 27.28 kB / 1.221 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.8692, allocations: 23.83 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.8692, allocations: 4.531 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.8692, allocations: 3.188 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.8692, allocations: 13.77 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.8693, allocations: 17.97 kB / 1.221 GB, free: 2.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.8694, allocations: 47.09 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.8694, allocations: 0 / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8694, allocations: 0 / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8694, allocations: 0 / 1.221 GB, free: 1.988 MB / 0.92 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.0006485/0.87, allocations: 357.4 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8701, allocations: 9.438 kB / 1.221 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.8701, allocations: 10.67 kB / 1.221 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.8703, allocations: 171.9 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.8703, allocations: 1.844 kB / 1.221 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.8703, allocations: 6.375 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.8704, allocations: 53.45 kB / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.8704, allocations: 0 / 1.221 GB, free: 1.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.8704, allocations: 5.375 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8705, allocations: 1.25 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.8705, allocations: 23.86 kB / 1.221 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.8709, allocations: 285.6 kB / 1.222 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.8712, allocations: 67.72 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.8712, allocations: 20.09 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.8712, allocations: 1.156 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.8714, allocations: 73.17 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.8714, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002738/0.8717, allocations: 92.72 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.8717, allocations: 52.75 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.308e-05/0.8718, allocations: 99.67 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.8718, allocations: 27.23 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.8719, allocations: 92.06 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.8719, allocations: 18.39 kB / 1.222 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.872, allocations: 22.67 kB / 1.222 GB, free: 0.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8721, allocations: 323.9 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.8721, allocations: 16.55 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.8722, allocations: 12.28 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.8723, allocations: 45.75 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8723, allocations: 0 / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001269/0.8724, allocations: 70.19 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.8724, allocations: 6.281 kB / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.8724, allocations: 80 / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8724, allocations: 0 / 1.223 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.8725, allocations: 20.27 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8725, allocations: 4.922 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.8726, allocations: 6.047 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-06/0.8726, allocations: 2.188 kB / 1.223 GB, free: 64 kB / 0.92 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.000111/0.8727, allocations: 124.7 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.8727, allocations: 1.406 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.8729, allocations: 100.9 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8729, allocations: 0.8438 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8729, allocations: 5.094 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.873, allocations: 0 / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.8731, allocations: 186 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8731, allocations: 0.9062 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.8732, allocations: 9.656 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8732, allocations: 3.938 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.8732, allocations: 1.125 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.8732, allocations: 0.9062 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8732, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000188/0.8734, allocations: 126.2 kB / 1.223 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.8734, allocations: 91.58 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.8735, allocations: 1.312 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.8735, allocations: 1.344 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.8736, allocations: 7.828 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.8736, allocations: 6.312 kB / 1.223 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.8736, allocations: 83.11 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8736, allocations: 3.938 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002003/0.8738, allocations: 18.28 kB / 1.223 GB, free: 15.33 MB / 0.9356 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.0001151/0.874, allocations: 104.3 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.8741, allocations: 46.48 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8741, allocations: 1.219 kB / 1.223 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.8742, allocations: 32.58 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.8743, allocations: 3.219 kB / 1.223 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.8747, allocations: 150 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.875, allocations: 0.6909 MB / 1.224 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.875, allocations: 8.219 kB / 1.224 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.8751, allocations: 14.84 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.8751, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of Templates: time 0.003586/0.8787, allocations: 0.7327 MB / 1.225 GB, free: 13.96 MB / 0.9356 GB " [Timeout remaining time 299] 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.879901777021587]