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.0009779/0.0009779, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00955/0.00955, allocations: 169.3 kB / 16.26 MB, free: 6.652 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.625/2.625, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004652, allocations: 8 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8016, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001925/0.8035, allocations: 1.324 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009544/0.8045, allocations: 0.5144 MB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.8046, allocations: 4 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.8047, allocations: 3.984 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003333/0.805, allocations: 47.64 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.8052, allocations: 23.97 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.8053, allocations: 111.6 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.8054, allocations: 19.97 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.8056, allocations: 47.84 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.8057, allocations: 43.77 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.8058, allocations: 4 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.8058, allocations: 4 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.8058, allocations: 15.92 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.8059, allocations: 69.53 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.8061, allocations: 85.58 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8061, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8061, allocations: 4 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.8061, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 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.0007728/0.8069, allocations: 391.2 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.8069, allocations: 8.031 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.807, allocations: 12.83 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.8072, allocations: 180.2 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.8072, allocations: 8.375 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.8073, allocations: 8.375 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.8075, allocations: 85.77 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8075, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.8075, allocations: 4 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8075, allocations: 0 / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.8076, allocations: 46.36 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.8082, allocations: 360.5 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.8085, allocations: 98.73 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8087, allocations: 52.77 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.8087, allocations: 3.844 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.809, allocations: 103.3 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.714e-06/0.809, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003909/0.8094, allocations: 145.5 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.8094, allocations: 51.41 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.8096, allocations: 133.8 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.8096, allocations: 25.7 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.8097, allocations: 92.28 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/0.8097, allocations: 39.69 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.8098, allocations: 13.72 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.81, allocations: 318.8 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.767e-05/0.8101, allocations: 31.98 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.8101, allocations: 31.92 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.8103, allocations: 56.86 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8103, allocations: 0 / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002262/0.8105, allocations: 125.5 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.8105, allocations: 4 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8105, allocations: 4 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8106, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.8107, allocations: 19.98 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8107, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.8108, allocations: 23.78 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.8108, allocations: 3.984 kB / 1.028 GB, free: 10.85 MB / 0.7794 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.0001486/0.811, allocations: 118.4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.811, allocations: 7.906 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.8113, allocations: 150 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.8113, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8114, allocations: 0 / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.8114, allocations: 7.922 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002117/0.8116, allocations: 209.6 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8116, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.886e-05/0.8117, allocations: 16 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8117, allocations: 0 / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.8117, allocations: 3.984 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/0.8117, allocations: 4 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8117, allocations: 3.938 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.812, allocations: 168.3 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.8121, allocations: 88.95 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.8121, allocations: 4 kB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.8122, allocations: 11.92 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.8123, allocations: 23.92 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.8123, allocations: 4 kB / 1.028 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.8124, allocations: 99.2 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8124, allocations: 4 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002195/0.8126, allocations: 20 kB / 1.029 GB, free: 9.824 MB / 0.7794 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.000175/0.8128, allocations: 107.2 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.8131, allocations: 83.97 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8131, allocations: 0 / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.8132, allocations: 55.92 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.8134, allocations: 8.562 kB / 1.029 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.814, allocations: 235.1 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.8144, allocations: 0.7005 MB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.262e-05/0.8144, allocations: 12.55 kB / 1.03 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.8145, allocations: 19.42 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of SimCode: time 6.32e-07/0.8145, allocations: 0 / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of Templates: time 0.003772/0.8183, allocations: 0.9843 MB / 1.031 GB, free: 7.57 MB / 0.7794 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/jenkins/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