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.007544/0.007544, allocations: 107.4 kB / 15.74 MB, free: 6.441 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.001576/0.001576, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.554/2.554, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.92 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 140.4 MB / 1.088 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003129/0.3266, allocations: 1.605 MB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3277, allocations: 0.543 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.3278, allocations: 0 / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.3279, allocations: 7.875 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.3282, allocations: 46.23 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.3284, allocations: 39.91 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.3285, allocations: 119.5 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.3287, allocations: 12 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.3288, allocations: 43.84 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.3289, allocations: 51.81 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.329, allocations: 8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.329, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.329, allocations: 27.86 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.106e-05/0.3291, allocations: 55.77 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.3293, allocations: 91.62 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3293, allocations: 0 / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3293, allocations: 0 / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3293, allocations: 0 / 1.091 GB, free: 14.83 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.0007523/0.3301, allocations: 399.2 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3301, allocations: 12.03 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.3302, allocations: 12.83 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3304, allocations: 184.2 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3304, allocations: 8.375 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.3304, allocations: 4.375 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3306, allocations: 89.89 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.3306, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3306, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3306, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3308, allocations: 43.97 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.3313, allocations: 348.6 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.3316, allocations: 110.6 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.3317, allocations: 44.83 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3317, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.3319, allocations: 95.36 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3319, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003996/0.3323, allocations: 153.4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.3324, allocations: 55.34 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3325, allocations: 121.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.3325, allocations: 33.69 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/0.3326, allocations: 96.36 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.3326, allocations: 35.55 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.341e-05/0.3327, allocations: 29.7 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3328, allocations: 318.8 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.439e-05/0.3329, allocations: 27.98 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.3329, allocations: 31.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3331, allocations: 60.84 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3331, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002424/0.3333, allocations: 120.5 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3333, allocations: 4 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3333, allocations: 4 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3334, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3335, allocations: 27.92 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3335, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3336, allocations: 11.92 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3336, allocations: 4 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.0001262/0.3338, allocations: 117.8 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.3338, allocations: 11.84 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.3341, allocations: 146 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3341, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3341, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3341, allocations: 3.938 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.3343, allocations: 217.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3344, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.319e-05/0.3344, allocations: 15.98 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.3345, allocations: 7.922 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.3345, allocations: 8 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3345, allocations: 3.938 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3345, allocations: 4 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3348, allocations: 160.9 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.3348, allocations: 89 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3349, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.976e-05/0.335, allocations: 4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.335, allocations: 19.97 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3351, allocations: 7.938 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.3351, allocations: 99.27 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3352, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002159/0.3354, allocations: 20 kB / 1.094 GB, free: 11.13 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.0001469/0.3355, allocations: 107.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.3358, allocations: 83.97 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3358, allocations: 0 / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3359, allocations: 59.03 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.0002333/0.3361, allocations: 12 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.3366, allocations: 198.6 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.337, allocations: 0.7002 MB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.3371, allocations: 8.562 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.3371, allocations: 23.42 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3371, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.004148/0.3413, allocations: 1.096 MB / 1.096 GB, free: 8.797 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