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.001445/0.001445, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 196 kB / 16.79 MB, free: 6.809 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.688/2.688, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.16 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3091, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003145/0.3123, allocations: 1.665 MB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.3134, allocations: 0.5375 MB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.3135, allocations: 0 / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.3136, allocations: 3.938 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.3139, allocations: 39.83 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.314, allocations: 35.91 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3142, allocations: 99.64 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3143, allocations: 23.95 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3145, allocations: 55.78 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3146, allocations: 47.81 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3146, allocations: 4 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.25e-05/0.3146, allocations: 8 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.3147, allocations: 19.86 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.84e-05/0.3147, allocations: 39.8 kB / 1.055 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3149, allocations: 64.09 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3149, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.32e-07/0.3149, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.3149, allocations: 0 / 1.055 GB, free: 5.625 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.0007637/0.3157, allocations: 411.2 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3157, allocations: 15.97 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3158, allocations: 8.844 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3159, allocations: 180.2 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.316, allocations: 4.375 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.316, allocations: 4.375 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3162, allocations: 96.06 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3162, allocations: 0 / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.3162, allocations: 4 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3162, allocations: 0 / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3164, allocations: 55.84 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.3169, allocations: 340.7 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3172, allocations: 106.7 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.3173, allocations: 44.84 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3173, allocations: 0 / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.3176, allocations: 95.34 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3176, allocations: 7.938 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003853/0.318, allocations: 145.5 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.318, allocations: 55.41 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3181, allocations: 122.3 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.3182, allocations: 25.7 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3182, allocations: 104.3 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.3183, allocations: 31.55 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.3183, allocations: 29.7 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3185, allocations: 326.8 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.3185, allocations: 27.98 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.3186, allocations: 27.98 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.3187, allocations: 75.22 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3187, allocations: 0 / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001946/0.3189, allocations: 109.6 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3189, allocations: 8 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.319, allocations: 0 / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.319, allocations: 3.938 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3191, allocations: 15.98 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3191, allocations: 8 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3192, allocations: 15.88 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3193, allocations: 7.984 kB / 1.058 GB, free: 2.938 MB / 0.8106 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.000105/0.3194, allocations: 114.3 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.3194, allocations: 7.906 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.3197, allocations: 145 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3197, allocations: 4 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3197, allocations: 4 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3197, allocations: 7.922 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3199, allocations: 213.5 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3199, allocations: 3.938 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.32, allocations: 16 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.32, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.32, allocations: 3.984 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.32, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.32, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3203, allocations: 164.9 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/0.3204, allocations: 85.02 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3204, allocations: 7.984 kB / 1.058 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3205, allocations: 11.98 kB / 1.058 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.3206, allocations: 11.92 kB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.3206, allocations: 11.92 kB / 1.058 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.3207, allocations: 99.22 kB / 1.059 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3207, allocations: 3.938 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002178/0.3209, allocations: 31.98 kB / 1.059 GB, free: 1.906 MB / 0.8106 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.0001315/0.321, allocations: 99.25 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3212, allocations: 87.91 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3212, allocations: 0 / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3214, allocations: 51.97 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/0.3215, allocations: 4 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.322, allocations: 266 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3223, allocations: 0.6965 MB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3223, allocations: 19.42 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3223, allocations: 4 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Templates: time 0.002894/0.3252, allocations: 1.263 MB / 1.061 GB, free: 15.36 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/jenkins1/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