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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 109.1 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8956/0.8978, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002887/0.9008, allocations: 1.451 MB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.9017, allocations: 0.4987 MB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.9018, allocations: 4 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.773e-05/0.9018, allocations: 11.92 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.9021, allocations: 19.86 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001184/0.9023, allocations: 27.91 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.9024, allocations: 51.89 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.9025, allocations: 3.984 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.9026, allocations: 31.86 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.9027, allocations: 23.91 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.9027, allocations: 8 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.9027, allocations: 4 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.727e-05/0.9028, allocations: 15.92 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.9028, allocations: 19.92 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.9029, allocations: 43.67 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.903, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.044e-06/0.903, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.903, allocations: 0 / 1.169 GB, free: 1.641 MB / 0.8887 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.0006616/0.9036, allocations: 358.3 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9037, allocations: 8.922 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.9037, allocations: 8.891 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.9039, allocations: 172.3 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.9039, allocations: 4.375 kB / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.904, allocations: 384 / 1.17 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.9041, allocations: 57.98 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.9041, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.9041, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.9041, allocations: 8 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.9042, allocations: 23.98 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.9047, allocations: 284.7 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.9049, allocations: 58.69 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.905, allocations: 24.84 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.905, allocations: 4 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.9053, allocations: 71.38 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 3.517e-06/0.9053, allocations: 0 / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.000283/0.9056, allocations: 89.61 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.9056, allocations: 55.41 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.9057, allocations: 101.8 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.9057, allocations: 25.7 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.9058, allocations: 88.14 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.9059, allocations: 23.73 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.9059, allocations: 29.64 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9061, allocations: 318.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.9061, allocations: 15.98 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.9062, allocations: 15.98 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.9063, allocations: 40.78 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9063, allocations: 0 / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001416/0.9064, allocations: 69.75 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.9064, allocations: 12 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9065, allocations: 3.984 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.9065, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.9066, allocations: 8 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.9066, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/0.9066, allocations: 16.19 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.9067, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 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.887e-05/0.9068, allocations: 117.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.9068, allocations: 8 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.907, allocations: 105.6 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.907, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.907, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.9071, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.9072, allocations: 189.5 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9073, allocations: 192 / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.9073, allocations: 8 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.9073, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.9074, allocations: 11.97 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9074, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9074, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.9076, allocations: 117 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.9076, allocations: 85.25 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.9077, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.9077, allocations: 7.938 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.9078, allocations: 3.984 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.9078, allocations: 4 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.9079, allocations: 91.27 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.934e-06/0.9079, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002031/0.9081, allocations: 19.94 kB / 1.172 GB, free: 14.59 MB / 0.9044 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.000136/0.9082, allocations: 103.2 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.9084, allocations: 51.91 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9084, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.9085, allocations: 27.94 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.9086, allocations: 13.06 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.909, allocations: 149.4 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.9093, allocations: 0.6846 MB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.9094, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.9094, allocations: 11.44 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.9094, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of Templates: time 0.003297/0.9127, allocations: 0.6897 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches