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.001532/0.001532, allocations: 115 kB / 16.42 MB, free: 6.027 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.001662/0.001662, allocations: 186.6 kB / 17.35 MB, free: 5.625 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.18 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7822, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00298/0.7852, allocations: 1.463 MB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009793/0.7862, allocations: 0.4948 MB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.7863, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.7863, allocations: 7.922 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.7867, allocations: 23.86 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.7868, allocations: 27.91 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.7869, allocations: 47.89 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.787, allocations: 4 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.7872, allocations: 31.86 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.7873, allocations: 23.91 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.7873, allocations: 8 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.7873, allocations: 4 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.7874, allocations: 7.984 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.7874, allocations: 23.86 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.7876, allocations: 39.67 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7876, allocations: 4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 4.028e-06/0.7876, allocations: 4 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.7876, allocations: 0 / 1.169 GB, free: 1.652 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.0006776/0.7883, allocations: 352.1 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7883, allocations: 12.92 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.422e-05/0.7884, allocations: 4.891 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.7886, allocations: 172.3 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.7886, allocations: 4.375 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.7887, allocations: 4.375 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.7888, allocations: 57.98 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.7888, allocations: 0 / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.7889, allocations: 4 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.7889, allocations: 0 / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.789, allocations: 23.98 kB / 1.17 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.7894, allocations: 284.7 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.7897, allocations: 58.69 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.424e-05/0.7898, allocations: 24.84 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.7898, allocations: 8 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.79, allocations: 67.38 kB / 1.171 GB, free: 448 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=6): time 7.985e-06/0.79, allocations: 3.984 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.0002664/0.7903, allocations: 93.8 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.7904, allocations: 51.41 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.7904, allocations: 105.8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.7905, allocations: 25.7 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.7905, allocations: 88.08 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.7906, allocations: 23.8 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.7907, allocations: 21.86 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7908, allocations: 314.8 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.7909, allocations: 24.05 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.7909, allocations: 15.94 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.791, allocations: 40.78 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.791, allocations: 4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001268/0.7911, allocations: 73.59 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7911, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7912, allocations: 3.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7912, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.7913, allocations: 8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.7913, allocations: 4 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.7914, allocations: 7.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.7914, allocations: 4 kB / 1.171 GB, free: 15.48 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.657e-05/0.7915, allocations: 117.7 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.7915, allocations: 8 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.7917, allocations: 105.6 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7917, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7918, allocations: 0 / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.7918, allocations: 85 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.7918, allocations: 3.984 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.057e-05/0.7919, allocations: 11.94 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.792, allocations: 7.984 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002129/0.7922, allocations: 172.9 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002493/0.7924, allocations: 258.9 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.469e-05/0.7925, allocations: 31.98 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.7926, allocations: 87.27 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of Backend: time 3.6e-07/0.7926, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.793, allocations: 103.5 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000524/0.7935, allocations: 0.5764 MB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of Templates: time 0.00314/0.7967, allocations: 0.7592 MB / 1.174 GB, free: 13.07 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 -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