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.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.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.00101/0.00101, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009321/0.009321, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004184, allocations: 8.375 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3935, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001832/0.3954, allocations: 1.326 MB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.3963, allocations: 0.5298 MB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.3964, allocations: 0 / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.3964, allocations: 7.922 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.3967, allocations: 34.72 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001141/0.3968, allocations: 39.89 kB / 1.06 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.397, allocations: 103.6 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3971, allocations: 15.98 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3972, allocations: 47.84 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.3973, allocations: 43.83 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3974, allocations: 4 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.3974, allocations: 8 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.3974, allocations: 19.91 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.3975, allocations: 65.44 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.3976, allocations: 83.94 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3977, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3977, allocations: 0 / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3977, allocations: 0 / 1.061 GB, free: 2.629 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.0006965/0.3984, allocations: 395.2 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3984, allocations: 11.97 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.3985, allocations: 8.844 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.3986, allocations: 180.2 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3986, allocations: 8.375 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3987, allocations: 4.375 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3989, allocations: 88.62 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3989, allocations: 7.938 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.3989, allocations: 4 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3989, allocations: 4 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.399, allocations: 47.91 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.3995, allocations: 344.7 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.3998, allocations: 114.7 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.152e-05/0.3999, allocations: 40.84 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.4, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.4002, allocations: 107.2 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.4002, allocations: 0 / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003266/0.4005, allocations: 149.5 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.4006, allocations: 51.41 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.4007, allocations: 121.8 kB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4007, allocations: 33.64 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.4008, allocations: 92.44 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.352e-05/0.4008, allocations: 39.53 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.4009, allocations: 21.66 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.401, allocations: 322.8 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.4011, allocations: 31.98 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.4011, allocations: 27.94 kB / 1.063 GB, free: 204 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.4012, allocations: 64.84 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4013, allocations: 0 / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001788/0.4014, allocations: 114.8 kB / 1.063 GB, free: 16 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4015, allocations: 8 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4015, allocations: 0 / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.4015, allocations: 0 / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.4016, allocations: 19.97 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4016, allocations: 4 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.4017, allocations: 23.78 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.4018, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 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.0001015/0.4019, allocations: 117.8 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.4019, allocations: 7.906 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.4022, allocations: 149.9 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4022, allocations: 4 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4022, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4022, allocations: 3.938 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.4024, allocations: 209.5 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4024, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.4025, allocations: 15.98 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4025, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4025, allocations: 4 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4025, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.4025, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.4028, allocations: 174 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4028, allocations: 89.02 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.4029, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.403, allocations: 11.98 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.403, allocations: 11.98 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.4031, allocations: 11.88 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.622e-05/0.4031, allocations: 99.27 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4031, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000214/0.4034, allocations: 31.91 kB / 1.064 GB, free: 14.93 MB / 0.8262 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.0001152/0.4035, allocations: 103.2 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.4037, allocations: 89.28 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4037, allocations: 0 / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4038, allocations: 59.84 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.404, allocations: 4.75 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.4044, allocations: 239.2 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4047, allocations: 0.6926 MB / 1.065 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.4048, allocations: 16.55 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.4048, allocations: 15.44 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4049, allocations: 0 / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003509/0.4084, allocations: 0.9825 MB / 1.066 GB, free: 12.69 MB / 0.8262 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