Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001715/0.001715, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002141/0.002141, allocations: 192.4 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 2.501/2.501, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.01/4.01, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 64.09 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22/1.222, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.004685/1.227, allocations: 1.437 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00156/1.228, allocations: 0.5143 MB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/1.229, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/1.229, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003991/1.229, allocations: 27.84 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/1.229, allocations: 23.91 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/1.229, allocations: 51.84 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/1.23, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/1.23, allocations: 23.92 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/1.23, allocations: 31.89 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/1.23, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.162e-05/1.23, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.213e-05/1.23, allocations: 7.984 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.008e-05/1.23, allocations: 19.88 kB / 1.211 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/1.23, allocations: 47.45 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.23, allocations: 4 kB / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.565e-06/1.23, allocations: 0 / 1.211 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.23, allocations: 7.938 kB / 1.211 GB, free: 11.46 MB / 0.9356 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.0009234/1.231, allocations: 355.5 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/1.231, allocations: 8.031 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/1.231, allocations: 0.9375 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/1.232, allocations: 170.3 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/1.232, allocations: 384 / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/1.232, allocations: 8.375 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/1.232, allocations: 65.97 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/1.232, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/1.232, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/1.232, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/1.232, allocations: 27.91 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/1.233, allocations: 288.8 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/1.233, allocations: 62.67 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/1.233, allocations: 28.78 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/1.233, allocations: 4 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/1.234, allocations: 63.39 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 3.086e-06/1.234, allocations: 0 / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004371/1.234, allocations: 93.56 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/1.234, allocations: 55.41 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/1.234, allocations: 109.8 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/1.235, allocations: 25.7 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/1.235, allocations: 80.14 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/1.235, allocations: 19.8 kB / 1.212 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.83e-05/1.235, allocations: 17.72 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.235, allocations: 318.8 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/1.235, allocations: 15.94 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.331e-05/1.235, allocations: 19.98 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/1.235, allocations: 45 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.235, allocations: 0 / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002344/1.236, allocations: 73.73 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.236, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.236, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/1.236, allocations: 4 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.236, allocations: 15.92 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.236, allocations: 0 / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/1.236, allocations: 3.906 kB / 1.212 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.236, allocations: 4 kB / 1.212 GB, free: 9.289 MB / 0.9356 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.0001879/1.236, allocations: 121.8 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/1.236, allocations: 3.984 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/1.237, allocations: 109.5 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/1.237, allocations: 3.984 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.237, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/1.237, allocations: 81.02 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/1.237, allocations: 4 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/1.237, allocations: 7.938 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-05/1.237, allocations: 11.98 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003732/1.237, allocations: 164.9 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003839/1.238, allocations: 262.7 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001033/1.238, allocations: 31.98 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.431e-05/1.238, allocations: 79.28 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of Backend: time 5.91e-07/1.238, allocations: 0 / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007336/1.239, allocations: 115.9 kB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00083/1.24, allocations: 0.5805 MB / 1.214 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of Templates: time 0.005711/1.245, allocations: 0.7859 MB / 1.215 GB, free: 6.84 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches