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.001682/0.001682, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002389/0.002389, allocations: 189.8 kB / 16.67 MB, free: 6.582 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.419/1.419, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.995/2.995, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.89 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3486, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002778/0.3514, allocations: 1.45 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3525, allocations: 0.5065 MB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/0.3525, allocations: 0 / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.631e-05/0.3526, allocations: 3.938 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.3529, allocations: 27.86 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.353, allocations: 19.95 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.3531, allocations: 51.8 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.3532, allocations: 11.98 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3534, allocations: 23.91 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.863e-05/0.3535, allocations: 23.92 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.3535, allocations: 4 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.3535, allocations: 4 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.3535, allocations: 19.91 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.3536, allocations: 15.92 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3537, allocations: 39.83 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3537, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3537, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.3537, allocations: 0 / 1.223 GB, free: 11.63 MB / 0.9825 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.0006738/0.3544, allocations: 363.3 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3544, allocations: 8.031 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.3545, allocations: 4.938 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3546, allocations: 172.4 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3546, allocations: 4.312 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3547, allocations: 8.375 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.3548, allocations: 57.98 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.3548, allocations: 4 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3548, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3548, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.235e-05/0.3549, allocations: 23.98 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.3553, allocations: 276.8 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.3555, allocations: 62.62 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.3555, allocations: 20.84 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3556, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001982/0.3558, allocations: 67.38 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.3558, allocations: 0 / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002602/0.356, allocations: 97.55 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3561, allocations: 51.41 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/0.3562, allocations: 113.8 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3562, allocations: 25.7 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.3562, allocations: 92.03 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3562, allocations: 15.97 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.3563, allocations: 21.7 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3564, allocations: 318.8 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.3564, allocations: 15.98 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.3565, allocations: 12 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.3565, allocations: 48.92 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3565, allocations: 4 kB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/0.3567, allocations: 73.64 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3567, allocations: 4 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3567, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3567, allocations: 0 / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.3568, allocations: 12.42 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3568, allocations: 4 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.3569, allocations: 4 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3569, allocations: 7.984 kB / 1.225 GB, free: 9.445 MB / 0.9825 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.293e-05/0.357, allocations: 118.3 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.357, allocations: 11.92 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.3572, allocations: 97.62 kB / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3572, allocations: 0 / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3572, allocations: 0 / 1.225 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3572, allocations: 3.938 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3574, allocations: 193.5 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3574, allocations: 0 / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.15e-05/0.3574, allocations: 16 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3574, allocations: 0 / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3574, allocations: 4 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3574, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3575, allocations: 3.984 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3576, allocations: 125 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3577, allocations: 81.06 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3577, allocations: 0 / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.3578, allocations: 11.94 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.3578, allocations: 11.98 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.3578, allocations: 0 / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.3579, allocations: 87.27 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3579, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001911/0.3581, allocations: 12 kB / 1.225 GB, free: 8.574 MB / 0.9825 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.000111/0.3582, allocations: 99.25 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3583, allocations: 51.86 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3583, allocations: 4 kB / 1.226 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.711e-05/0.3584, allocations: 31.92 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.3585, allocations: 1.5 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.3589, allocations: 157.3 kB / 1.226 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.3591, allocations: 0.6846 MB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3592, allocations: 7.984 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.3592, allocations: 11.44 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3592, allocations: 0 / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.003174/0.3624, allocations: 0.6944 MB / 1.227 GB, free: 6.793 MB / 0.9825 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=480 -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/jenkins/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