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.001318/0.001318, allocations: 104.6 kB / 16.27 MB, free: 6.004 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.001286/0.001286, allocations: 187.3 kB / 17.2 MB, free: 5.613 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.526/2.526, allocations: 437.1 MB / 0.7111 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.14 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002976/0.3184, allocations: 1.6 MB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.3194, allocations: 0.5351 MB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.3194, allocations: 4 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.3195, allocations: 11.88 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3197, allocations: 39.77 kB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.3199, allocations: 43.88 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.32, allocations: 111.6 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3201, allocations: 27.95 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.3203, allocations: 47.84 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3204, allocations: 47.81 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.3204, allocations: 8 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 2.332e-05/0.3204, allocations: 11.94 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.251e-05/0.3205, allocations: 27.86 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.3206, allocations: 47.78 kB / 1.02 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3207, allocations: 83.97 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3207, allocations: 4 kB / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3207, allocations: 0 / 1.021 GB, free: 7.945 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3207, allocations: 4 kB / 1.021 GB, free: 7.941 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.000762/0.3215, allocations: 397.1 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3215, allocations: 8.031 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.3216, allocations: 12.83 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.3218, allocations: 184.2 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3218, allocations: 12.38 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.3218, allocations: 4.375 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.322, allocations: 89.89 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.322, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3221, allocations: 4 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.3221, allocations: 4 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3222, allocations: 47.91 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.3227, allocations: 348.6 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.323, allocations: 98.73 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.3231, allocations: 44.83 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.3232, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3234, allocations: 103.2 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3234, allocations: 0 / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0003426/0.3237, allocations: 145.5 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3238, allocations: 51.41 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3239, allocations: 126.2 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3239, allocations: 33.69 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.324, allocations: 100.3 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.3241, allocations: 35.53 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.3241, allocations: 33.7 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3243, allocations: 322.7 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.3244, allocations: 27.98 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.3244, allocations: 31.98 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3245, allocations: 68.09 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3246, allocations: 0 / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001947/0.3248, allocations: 109.6 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3248, allocations: 4 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3248, allocations: 3.938 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3248, allocations: 4 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3249, allocations: 27.92 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.3249, allocations: 0 / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.325, allocations: 11.92 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.3251, allocations: 8 kB / 1.023 GB, free: 5.266 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.0001111/0.3252, allocations: 114.9 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.15e-05/0.3252, allocations: 7.906 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.3255, allocations: 153.9 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3255, allocations: 4 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3255, allocations: 0 / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3255, allocations: 3.938 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.3258, allocations: 217.4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3258, allocations: 0 / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.3259, allocations: 15.98 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3259, allocations: 8 kB / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3259, allocations: 0 / 1.023 GB, free: 4.684 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.3261, allocations: 171 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.3262, allocations: 89 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3263, allocations: 4 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3264, allocations: 7.938 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.3264, allocations: 19.97 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3265, allocations: 7.938 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.447e-05/0.3265, allocations: 99.27 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3266, allocations: 4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000204/0.3268, allocations: 16 kB / 1.024 GB, free: 4.238 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.0001261/0.3269, allocations: 103.2 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3271, allocations: 95.89 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3271, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3272, allocations: 51.92 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.3274, allocations: 5.5 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.3279, allocations: 239.5 kB / 1.024 GB, free: 3.715 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.3282, allocations: 0.6963 MB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.3283, allocations: 19.44 kB / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.3283, allocations: 0 / 1.025 GB, free: 2.977 MB / 0.795 GB Notification: Performance of Templates: time 0.003028/0.3313, allocations: 1.268 MB / 1.026 GB, free: 1.719 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=400 -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