Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006599/0.006599, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001727/0.001727, allocations: 186.8 kB / 16.67 MB, free: 5.977 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.545/2.545, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 62.7 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3728, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.0029/0.3758, allocations: 1.617 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009357/0.3768, allocations: 0.5351 MB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.3768, allocations: 4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.3769, allocations: 7.922 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.3772, allocations: 42.58 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.3773, allocations: 43.94 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3775, allocations: 111.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3776, allocations: 15.98 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3777, allocations: 55.77 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3778, allocations: 47.83 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3778, allocations: 8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.013e-05/0.3779, allocations: 8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.3779, allocations: 27.91 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.378, allocations: 43.78 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.3781, allocations: 91.69 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3781, allocations: 0 / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3781, allocations: 4 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3782, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 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.0007412/0.3789, allocations: 403.2 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.379, allocations: 8.031 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.379, allocations: 12.78 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3792, allocations: 180.2 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3792, allocations: 8.375 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3792, allocations: 4.375 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.3794, allocations: 89.89 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3794, allocations: 0 / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.3794, allocations: 8 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3794, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.3796, allocations: 55.91 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.3801, allocations: 340.7 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3804, allocations: 110.6 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.3805, allocations: 40.84 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3805, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.3807, allocations: 99.28 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.3807, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003208/0.3811, allocations: 145.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3811, allocations: 55.34 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3812, allocations: 121.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3812, allocations: 29.7 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3813, allocations: 100.3 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3814, allocations: 39.53 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.3814, allocations: 21.72 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3815, allocations: 326.8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.3816, allocations: 31.98 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.923e-05/0.3817, allocations: 23.98 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.3818, allocations: 68.78 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3818, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001811/0.382, allocations: 117.6 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.382, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.382, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.382, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3821, allocations: 23.97 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3822, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3823, allocations: 11.92 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.3823, allocations: 8 kB / 1.093 GB, free: 12.14 MB / 0.8575 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.0001002/0.3824, allocations: 120.3 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.3824, allocations: 11.91 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.3827, allocations: 138 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3827, allocations: 7.984 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3827, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.3827, allocations: 3.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3829, allocations: 213.5 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3829, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.128e-05/0.383, allocations: 19.94 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.383, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.383, allocations: 11.98 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3831, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3831, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3833, allocations: 164.9 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.3834, allocations: 85.02 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3834, allocations: 7.984 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.3835, allocations: 4 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.3836, allocations: 19.92 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3836, allocations: 15.86 kB / 1.094 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.407e-05/0.3837, allocations: 100.1 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001988/0.3839, allocations: 20 kB / 1.094 GB, free: 11.11 MB / 0.8575 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.0001265/0.384, allocations: 103.2 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.3842, allocations: 89.53 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3842, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.828e-05/0.3843, allocations: 47.98 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.3845, allocations: 15.98 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.385, allocations: 206.9 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3853, allocations: 0.6963 MB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.3853, allocations: 12.55 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.087e-05/0.3854, allocations: 19.44 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3854, allocations: 0 / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of Templates: time 0.003544/0.3889, allocations: 1.137 MB / 1.096 GB, free: 8.734 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches