Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001275/0.001275, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001265/0.001265, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.435/1.435, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.796/2.796, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001939, allocations: 68.42 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.356, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002759/0.3588, allocations: 1.513 MB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.3596, allocations: 498.8 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.3597, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3597, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.36, allocations: 19.91 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.3601, allocations: 27.92 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.624e-05/0.3602, allocations: 43.86 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3603, allocations: 15.97 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.465e-05/0.3604, allocations: 23.92 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.3604, allocations: 19.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3605, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.395e-05/0.3605, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.3605, allocations: 15.91 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3606, allocations: 27.94 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.438e-05/0.3607, allocations: 32.16 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3607, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3607, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3607, allocations: 0 / 1.066 GB, free: 12.88 MB / 0.8419 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.0006127/0.3613, allocations: 347.5 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3614, allocations: 8.031 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3614, allocations: 4.922 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3615, allocations: 172.3 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3616, allocations: 4.375 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3616, allocations: 384 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3617, allocations: 65.91 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3617, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3618, allocations: 4 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3618, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.3619, allocations: 27.97 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3623, allocations: 280.8 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.3625, allocations: 70.61 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.3626, allocations: 20.8 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.3626, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.3628, allocations: 79.36 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3628, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0002489/0.363, allocations: 89.61 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3631, allocations: 55.34 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.3632, allocations: 105.8 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.3632, allocations: 29.7 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.3633, allocations: 88.05 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/0.3633, allocations: 19.73 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.3633, allocations: 17.72 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3635, allocations: 326.8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.3635, allocations: 12 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.3636, allocations: 24.05 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.3637, allocations: 36.86 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3637, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000135/0.3638, allocations: 77.75 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3638, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.3638, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3639, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.3639, allocations: 12 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.364, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.364, allocations: 11.89 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.364, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8419 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.768e-05/0.3641, allocations: 117.8 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.3642, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.3644, allocations: 105.6 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3644, allocations: 4 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3644, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3644, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.3646, allocations: 185.6 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3646, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.3646, allocations: 15.92 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3647, allocations: 256 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3647, allocations: 4 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.3647, allocations: 8 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3647, allocations: 3.938 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3649, allocations: 128.9 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.3649, allocations: 81.05 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.365, allocations: 4 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.365, allocations: 3.984 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3651, allocations: 8 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3651, allocations: 7.984 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.967e-05/0.3652, allocations: 83.28 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3652, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001884/0.3654, allocations: 15.91 kB / 1.069 GB, free: 9.832 MB / 0.8419 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.0001195/0.3655, allocations: 99.25 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.3656, allocations: 59.84 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3657, allocations: 4 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.3657, allocations: 31.92 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3659, allocations: 4 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.3663, allocations: 191.3 kB / 1.069 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.3666, allocations: 0.6807 MB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.3666, allocations: 11.44 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of SimCode: time 1.91e-07/0.3666, allocations: 0 / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.002326/0.369, allocations: 0.836 MB / 1.071 GB, free: 7.863 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches