Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_10_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_10_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.001472/0.001472, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001517/0.001517, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 68.84 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3614, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003738/0.3651, allocations: 1.589 MB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3666, allocations: 0.543 MB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.3667, allocations: 0 / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.855e-05/0.3668, allocations: 11.86 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3672, allocations: 43.77 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.3674, allocations: 39.89 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3676, allocations: 115.6 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3678, allocations: 19.98 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3679, allocations: 51.78 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3681, allocations: 55.75 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.3681, allocations: 8 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.965e-05/0.3682, allocations: 8 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.3682, allocations: 27.91 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.3683, allocations: 43.78 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3686, allocations: 91.97 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3686, allocations: 0 / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.278e-06/0.3686, allocations: 3.984 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.3686, allocations: 0 / 1.021 GB, free: 7.973 MB / 0.795 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.0009278/0.3695, allocations: 395.2 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3696, allocations: 12.03 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.3697, allocations: 12.83 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3699, allocations: 180.2 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3699, allocations: 4.312 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3699, allocations: 4.375 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.3701, allocations: 89.95 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.3702, allocations: 4 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3702, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3702, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.3704, allocations: 59.89 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000727/0.3711, allocations: 340.6 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.3715, allocations: 102.7 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.3716, allocations: 52.77 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3716, allocations: 0 / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003105/0.3719, allocations: 95.3 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.3719, allocations: 0 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003578/0.3723, allocations: 145.9 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.3723, allocations: 59.34 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3725, allocations: 129.8 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3725, allocations: 29.7 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.3726, allocations: 100.4 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.3727, allocations: 31.55 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.3727, allocations: 29.7 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3729, allocations: 322.8 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.373, allocations: 23.98 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.373, allocations: 27.98 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3732, allocations: 69.34 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3732, allocations: 7.938 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002045/0.3734, allocations: 108.5 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3734, allocations: 11.94 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3734, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3735, allocations: 0 / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3736, allocations: 19.98 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3736, allocations: 0 / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.3737, allocations: 15.92 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.3737, allocations: 4 kB / 1.023 GB, free: 5.309 MB / 0.795 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 0.0001197/0.3739, allocations: 121.8 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.3739, allocations: 7.906 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003125/0.3742, allocations: 153.9 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3742, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3742, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3742, allocations: 7.938 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.3745, allocations: 213.4 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3745, allocations: 0 / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.3746, allocations: 27.98 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3746, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3746, allocations: 0 / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3746, allocations: 4 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3746, allocations: 3.938 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.375, allocations: 164.9 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.375, allocations: 89 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.3751, allocations: 0 / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3752, allocations: 12 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.3752, allocations: 11.97 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3753, allocations: 7.938 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001863/0.3755, allocations: 99.27 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3755, allocations: 0 / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002182/0.3757, allocations: 24 kB / 1.024 GB, free: 4.273 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: 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.0001515/0.3759, allocations: 103.2 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.3762, allocations: 94.58 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3762, allocations: 4 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3763, allocations: 51.92 kB / 1.024 GB, free: 4.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.3765, allocations: 8 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.377, allocations: 235.3 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3774, allocations: 0.7002 MB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3775, allocations: 15.44 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.3775, allocations: 0 / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of Templates: time 0.003564/0.3811, allocations: 1.27 MB / 1.026 GB, free: 1.75 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches