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.001192/0.001192, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.001215/0.001215, allocations: 191.7 kB / 16.91 MB, free: 6.195 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.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.586/2.586, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 64.12 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3002, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002865/0.3031, allocations: 1.659 MB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000911/0.3041, allocations: 0.5415 MB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.208e-05/0.3041, allocations: 0 / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.3042, allocations: 4 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.3045, allocations: 39.77 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.3046, allocations: 27.97 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3048, allocations: 115.6 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3049, allocations: 23.95 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.305, allocations: 47.84 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3051, allocations: 51.75 kB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.3052, allocations: 8 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.3052, allocations: 11.94 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.3052, allocations: 23.92 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.3053, allocations: 43.8 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.3054, allocations: 72.09 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3054, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3054, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3054, allocations: 0 / 1.02 GB, free: 8.301 MB / 0.795 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.0007365/0.3062, allocations: 401.4 kB / 1.02 GB, free: 7.863 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3062, allocations: 16.03 kB / 1.02 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.3063, allocations: 12.84 kB / 1.02 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3064, allocations: 180.2 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3065, allocations: 4.375 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.3065, allocations: 8.312 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3067, allocations: 89.95 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3067, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3067, allocations: 4 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3067, allocations: 0 / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3068, allocations: 51.91 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3074, allocations: 344.6 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3077, allocations: 102.7 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.901e-05/0.3077, allocations: 44.84 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3078, allocations: 7.938 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.308, allocations: 99.34 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 3.527e-06/0.308, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003304/0.3084, allocations: 145.5 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3084, allocations: 55.41 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/0.3085, allocations: 126.2 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3085, allocations: 29.7 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.3086, allocations: 104.3 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.3086, allocations: 35.53 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3087, allocations: 25.72 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3088, allocations: 322.8 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.3089, allocations: 27.98 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.3089, allocations: 27.98 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.309, allocations: 68.78 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3091, allocations: 0 / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001827/0.3092, allocations: 118.9 kB / 1.022 GB, free: 5.672 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3093, allocations: 4 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3093, allocations: 4 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3093, allocations: 3.938 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.3094, allocations: 15.98 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3094, allocations: 4 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.3095, allocations: 11.94 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3096, allocations: 3.984 kB / 1.022 GB, free: 5.625 MB / 0.795 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.0001/0.3097, allocations: 122.3 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.3097, allocations: 7.906 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.31, allocations: 146.5 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.31, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.31, allocations: 7.969 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.31, allocations: 3.938 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3102, allocations: 213.5 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3102, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.157e-05/0.3103, allocations: 16 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3103, allocations: 4 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.3103, allocations: 7.984 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3103, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3103, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000228/0.3106, allocations: 171.9 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.3106, allocations: 85.02 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3106, allocations: 4 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.3108, allocations: 15.98 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.3108, allocations: 7.984 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3108, allocations: 11.92 kB / 1.023 GB, free: 4.715 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.3109, allocations: 103.2 kB / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3109, allocations: 0 / 1.023 GB, free: 4.613 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002112/0.3111, allocations: 27.98 kB / 1.023 GB, free: 4.586 MB / 0.795 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.0001236/0.3113, allocations: 99.25 kB / 1.023 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3115, allocations: 87.91 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3115, allocations: 4 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.432e-05/0.3116, allocations: 59.91 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.3118, allocations: 11.98 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.3122, allocations: 256.4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3124, allocations: 0.6962 MB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.3125, allocations: 19.42 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3125, allocations: 0 / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of Templates: time 0.002819/0.3153, allocations: 1.27 MB / 1.026 GB, free: 2.035 MB / 0.795 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/jenkins1/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