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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00104/0.00104, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01184/0.01184, allocations: 169 kB / 16.26 MB, free: 6.66 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.358/1.358, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 443.3 MB / 0.7175 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.000419, allocations: 8.688 kB / 0.8796 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3252, allocations: 155.2 MB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001719/0.327, allocations: 1.175 MB / 1.032 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008036/0.3278, allocations: 0.4952 MB / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.3278, allocations: 0 / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.3279, allocations: 0 / 1.033 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.3281, allocations: 19.92 kB / 1.033 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.3282, allocations: 23.97 kB / 1.033 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.281e-05/0.3283, allocations: 51.8 kB / 1.033 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.995e-05/0.3284, allocations: 3.984 kB / 1.033 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.3285, allocations: 27.91 kB / 1.033 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.3286, allocations: 19.92 kB / 1.033 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.3286, allocations: 4 kB / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.3287, allocations: 0 / 1.033 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.3287, allocations: 11.92 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.118e-05/0.3287, allocations: 49.56 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3289, allocations: 48.08 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3289, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.494e-06/0.3289, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3289, allocations: 0 / 1.033 GB, free: 2.332 MB / 0.7794 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.000556/0.3295, allocations: 335.6 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3295, allocations: 16.03 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3296, allocations: 4.844 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3297, allocations: 172.3 kB / 1.033 GB, free: 1.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.3297, allocations: 4.359 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3298, allocations: 4.375 kB / 1.033 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3299, allocations: 69.89 kB / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3299, allocations: 0 / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3299, allocations: 0 / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3299, allocations: 0 / 1.034 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.33, allocations: 23.98 kB / 1.034 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003997/0.3304, allocations: 276.8 kB / 1.034 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3307, allocations: 66.61 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.3307, allocations: 28.84 kB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3307, allocations: 0 / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.3309, allocations: 67.39 kB / 1.034 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3309, allocations: 3.938 kB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002478/0.3312, allocations: 97.59 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3312, allocations: 51.41 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.877e-05/0.3313, allocations: 101.9 kB / 1.034 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3313, allocations: 25.7 kB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.3314, allocations: 88.12 kB / 1.034 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.3314, allocations: 19.75 kB / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.3315, allocations: 13.72 kB / 1.034 GB, free: 0.6836 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3316, allocations: 318.8 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.3316, allocations: 15.98 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.358e-05/0.3317, allocations: 20.06 kB / 1.035 GB, free: 336 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.064e-05/0.3317, allocations: 36.84 kB / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3317, allocations: 0 / 1.035 GB, free: 296 kB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001205/0.3319, allocations: 77.67 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3319, allocations: 4 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.3319, allocations: 8.078 kB / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3319, allocations: 0 / 1.035 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.862e-05/0.332, allocations: 8 kB / 1.035 GB, free: 192 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.332, allocations: 3.984 kB / 1.035 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.3321, allocations: 7.984 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.3321, allocations: 3.938 kB / 1.035 GB, free: 176 kB / 0.7794 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 7.975e-05/0.3322, allocations: 119.3 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.3322, allocations: 3.906 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.3324, allocations: 109.8 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3324, allocations: 0 / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3324, allocations: 4 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3325, allocations: 4 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3326, allocations: 181.6 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3326, allocations: 0 / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.3327, allocations: 15.94 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3327, allocations: 3.984 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3327, allocations: 4 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3327, allocations: 0 / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3327, allocations: 4 kB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.3329, allocations: 120.9 kB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.333, allocations: 85.05 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.333, allocations: 3.938 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.333, allocations: 12.17 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.3331, allocations: 4 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3331, allocations: 7.969 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.3332, allocations: 87.28 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3332, allocations: 0 / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001889/0.3334, allocations: 12 kB / 1.036 GB, free: 15.3 MB / 0.795 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.0001242/0.3335, allocations: 99.25 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3336, allocations: 59.84 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3336, allocations: 192 / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.002e-05/0.3337, allocations: 27.88 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3339, allocations: 10.58 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.3342, allocations: 160.7 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.3345, allocations: 0.6848 MB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.3345, allocations: 11.98 kB / 1.037 GB, free: 14.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.3345, allocations: 11.44 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.3346, allocations: 0 / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of Templates: time 0.002665/0.3372, allocations: 0.6239 MB / 1.037 GB, free: 13.57 MB / 0.795 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/jenkins/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