Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001899/0.001899, allocations: 195.1 kB / 16.14 MB, free: 6.691 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.8 MB / 0.7342 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 66.95 kB / 0.8984 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3468, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002994/0.3499, allocations: 1.673 MB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.3507, allocations: 0.5413 MB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.515e-05/0.3508, allocations: 0 / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.3508, allocations: 7.922 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.3511, allocations: 31.84 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.3512, allocations: 31.95 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.3513, allocations: 111.6 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3514, allocations: 19.97 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3515, allocations: 47.8 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.3517, allocations: 47.81 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.3517, allocations: 8 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.3517, allocations: 4 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.3517, allocations: 19.91 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.3518, allocations: 43.8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.352, allocations: 91.94 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.356e-05/0.352, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.352, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.352, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007805/0.3528, allocations: 404.3 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3528, allocations: 12.03 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3529, allocations: 8.844 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.353, allocations: 176.2 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3531, allocations: 8.375 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3531, allocations: 8.359 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3533, allocations: 81.97 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3533, allocations: 0 / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3533, allocations: 11.98 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3533, allocations: 0 / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3534, allocations: 50.3 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.354, allocations: 344.6 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002791/0.3542, allocations: 106.7 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.3543, allocations: 48.84 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.3544, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.3546, allocations: 103.2 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.674e-06/0.3546, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003239/0.3549, allocations: 145.5 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.355, allocations: 55.41 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.3551, allocations: 125.8 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3551, allocations: 29.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3552, allocations: 100.3 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3552, allocations: 35.55 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.3553, allocations: 33.64 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3554, allocations: 326.8 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.3555, allocations: 24 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.3555, allocations: 29.73 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3556, allocations: 64.84 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3556, allocations: 4 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001891/0.3558, allocations: 116.6 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3559, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3559, allocations: 4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3559, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.356, allocations: 15.98 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.356, allocations: 4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3561, allocations: 15.92 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3562, allocations: 0 / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.803e-05/0.3563, allocations: 127.3 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.234e-05/0.3563, allocations: 11.89 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.3566, allocations: 142 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3566, allocations: 3.984 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3566, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3566, allocations: 3.938 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3568, allocations: 217.4 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3568, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.3569, allocations: 23.92 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3569, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3569, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.357, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.357, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.3572, allocations: 164.9 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.3573, allocations: 85 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.3573, allocations: 8 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3574, allocations: 11.98 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.3575, allocations: 11.98 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3575, allocations: 11.88 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.446e-05/0.3576, allocations: 99.27 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3576, allocations: 0 / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002077/0.3578, allocations: 24 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001444/0.3579, allocations: 103.2 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3582, allocations: 91.33 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3582, allocations: 4 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.3583, allocations: 51.92 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.3584, allocations: 7.938 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.3589, allocations: 233.9 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.3592, allocations: 0.7004 MB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.3593, allocations: 4.562 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3593, allocations: 23.42 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of SimCode: time 3.9e-07/0.3594, allocations: 7.938 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of Templates: time 0.003169/0.3625, allocations: 0.9948 MB / 1.06 GB, free: 264 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches