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.007044/0.007051, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001311/0.001311, allocations: 199 kB / 16.68 MB, free: 5.914 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.633/2.633, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 63.7 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3605, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003049/0.3636, allocations: 1.591 MB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3646, allocations: 0.539 MB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.3647, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.691e-05/0.3648, allocations: 11.86 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3651, allocations: 46.12 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001221/0.3652, allocations: 39.89 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3654, allocations: 111.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3655, allocations: 19.98 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.3656, allocations: 47.83 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3658, allocations: 51.83 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.3658, allocations: 8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.3658, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.3659, allocations: 31.84 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.997e-05/0.3659, allocations: 47.78 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3661, allocations: 87.69 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3661, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.664e-06/0.3661, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3661, allocations: 0 / 1.09 GB, free: 14.84 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.0008024/0.3669, allocations: 403.2 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.367, allocations: 8.031 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.367, allocations: 8.844 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.3672, allocations: 192.1 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3672, allocations: 4.375 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.3672, allocations: 8.375 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.3674, allocations: 100.4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.3675, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3675, allocations: 0 / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3675, allocations: 7.938 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3676, allocations: 47.97 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.3682, allocations: 344.6 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3685, allocations: 102.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.3686, allocations: 52.78 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3686, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.3688, allocations: 95.34 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3688, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003918/0.3692, allocations: 149.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.3693, allocations: 55.34 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3694, allocations: 125.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.3695, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.3696, allocations: 100.3 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.3696, allocations: 35.53 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3697, allocations: 29.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3698, allocations: 318.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.3699, allocations: 27.98 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/0.37, allocations: 31.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3701, allocations: 64.84 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3701, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001832/0.3703, allocations: 120.6 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.3703, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3703, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.3704, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3705, allocations: 19.98 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3705, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3706, allocations: 11.92 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3706, allocations: 8 kB / 1.093 GB, free: 12.16 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.0001191/0.3708, allocations: 119.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.3708, allocations: 7.906 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000282/0.3711, allocations: 145.9 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3711, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3711, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3711, allocations: 3.938 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3713, allocations: 221.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3713, allocations: 7.938 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.3714, allocations: 15.98 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3714, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.3714, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3715, allocations: 3.984 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3715, allocations: 0 / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.3717, allocations: 164.9 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.3718, allocations: 89 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3718, allocations: 7.984 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.3719, allocations: 8 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.372, allocations: 11.98 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.372, allocations: 19.92 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.979e-05/0.3721, allocations: 96.14 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3721, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001972/0.3723, allocations: 20 kB / 1.094 GB, free: 11.12 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.0001443/0.3724, allocations: 107.2 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002025/0.3726, allocations: 87.09 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3726, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.3728, allocations: 55.92 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.3729, allocations: 13.67 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.3734, allocations: 198.6 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.3737, allocations: 0.7002 MB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.206e-05/0.3738, allocations: 8.547 kB / 1.095 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.3739, allocations: 19.42 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of SimCode: time 1.91e-07/0.3739, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of Templates: time 0.004106/0.378, allocations: 1.088 MB / 1.096 GB, free: 8.801 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