Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00183/0.00183, allocations: 110.8 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.001914/0.001914, allocations: 187.9 kB / 17.35 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.378/1.378, 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 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7564, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002171/0.7586, allocations: 1.443 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007177/0.7593, allocations: 0.509 MB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.742e-05/0.7594, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.7594, allocations: 4.547 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.7596, allocations: 28.09 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.339e-05/0.7597, allocations: 24.06 kB / 1.091 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.7598, allocations: 55.86 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.7599, allocations: 3.922 kB / 1.091 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.76, allocations: 26.88 kB / 1.091 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.905e-05/0.7601, allocations: 26.27 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.7602, allocations: 4.156 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.7602, allocations: 3.375 kB / 1.091 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.7602, allocations: 16.52 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.065e-05/0.7603, allocations: 17.27 kB / 1.091 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.7604, allocations: 48.38 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7604, allocations: 0 / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7604, allocations: 1.094 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7604, allocations: 0 / 1.091 GB, free: 4.047 MB / 0.8575 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.0005122/0.7609, allocations: 350.4 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.761, allocations: 15.97 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.761, allocations: 3.781 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.071e-05/0.7611, allocations: 166.7 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.7611, allocations: 10.19 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7611, allocations: 2.656 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.7613, allocations: 58.25 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7613, allocations: 2.109 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7613, allocations: 4 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7613, allocations: 1.062 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.7614, allocations: 24.83 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002937/0.7617, allocations: 282.7 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.7619, allocations: 68.19 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.762, allocations: 20.84 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.762, allocations: 0.8438 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.7621, allocations: 76.83 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.7621, allocations: 0 / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002268/0.7624, allocations: 91.81 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.7624, allocations: 53.28 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.671e-05/0.7625, allocations: 102.7 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.7625, allocations: 30.83 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.7625, allocations: 86 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.7625, allocations: 20.22 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.7626, allocations: 20.47 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.7626, allocations: 317.5 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.7627, allocations: 14.61 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.7627, allocations: 19 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.7628, allocations: 46.47 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7628, allocations: 0.7969 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001082/0.7629, allocations: 71.83 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7629, allocations: 5.891 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7629, allocations: 5.281 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7629, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.763, allocations: 9.938 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.763, allocations: 1.312 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.7631, allocations: 8.031 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.7631, allocations: 2.812 kB / 1.093 GB, free: 2.223 MB / 0.8575 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 5.333e-05/0.7632, allocations: 121.3 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.7632, allocations: 6.234 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.7634, allocations: 107.8 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.7634, allocations: 0.6562 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7634, allocations: 1 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.7634, allocations: 88.36 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7635, allocations: 0.75 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.7635, allocations: 8.203 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.7636, allocations: 9.578 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001797/0.7638, allocations: 166.8 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001872/0.764, allocations: 260 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.601e-05/0.764, allocations: 38.19 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.7641, allocations: 85.84 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/0.7641, allocations: 0.625 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.7644, allocations: 104.2 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002964/0.7647, allocations: 0.5719 MB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of Templates: time 0.002905/0.7676, allocations: 0.7518 MB / 1.095 GB, free: 0.7188 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches