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.001024/0.001024, allocations: 92.16 kB / 16.02 MB, free: 80 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.001365/0.001365, allocations: 172.9 kB / 16.92 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.801/2.801, allocations: 462.6 MB / 0.737 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003672, allocations: 12.47 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3194, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001871/0.3213, allocations: 1.322 MB / 1.061 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/0.3222, allocations: 0.5181 MB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.3223, allocations: 0 / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.3224, allocations: 11.92 kB / 1.061 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.3227, allocations: 35.83 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.3229, allocations: 35.91 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.323, allocations: 107.6 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3231, allocations: 19.98 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3233, allocations: 47.84 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.3234, allocations: 39.83 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3235, allocations: 4 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.3235, allocations: 4 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.3235, allocations: 27.89 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.3236, allocations: 61.5 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3237, allocations: 64.02 kB / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3237, allocations: 0 / 1.062 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3238, allocations: 4 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3238, allocations: 0 / 1.062 GB, free: 2.688 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.0007476/0.3245, allocations: 395.2 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.3246, allocations: 15.97 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.3246, allocations: 12.84 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3248, allocations: 176.2 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3248, allocations: 8.375 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3249, allocations: 4.375 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3251, allocations: 85.95 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3251, allocations: 3.938 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3251, allocations: 8 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3251, allocations: 0 / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3252, allocations: 47.91 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.3258, allocations: 348.7 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.3261, allocations: 106.7 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.3262, allocations: 44.84 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.3262, allocations: 4 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3264, allocations: 107.2 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.3265, allocations: 0 / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0003475/0.3268, allocations: 145.4 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.3269, allocations: 51.41 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.327, allocations: 129.8 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.327, allocations: 25.7 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.623e-05/0.3271, allocations: 96.45 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.3271, allocations: 35.55 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.3271, allocations: 9.719 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3273, allocations: 326.8 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.298e-05/0.3273, allocations: 31.98 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.077e-05/0.3274, allocations: 27.92 kB / 1.064 GB, free: 272 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.3275, allocations: 71.78 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3275, allocations: 0 / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000185/0.3277, allocations: 113.6 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3278, allocations: 9.719 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3278, allocations: 0 / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3278, allocations: 0 / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3279, allocations: 23.92 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3279, allocations: 0 / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.328, allocations: 19.84 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.3281, allocations: 3.984 kB / 1.064 GB, free: 24 kB / 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.0001129/0.3282, allocations: 117.8 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.3282, allocations: 11.89 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.3285, allocations: 150 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3285, allocations: 3.984 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3285, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3285, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.3287, allocations: 213.5 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3287, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.3288, allocations: 12 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.3288, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3289, allocations: 7.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3289, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3289, allocations: 0 / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.3291, allocations: 167.2 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.3292, allocations: 89.02 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3292, allocations: 7.984 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3294, allocations: 4 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3294, allocations: 15.98 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3294, allocations: 11.92 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.3295, allocations: 103.2 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.343e-06/0.3295, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002199/0.3297, allocations: 31.84 kB / 1.065 GB, free: 14.99 MB / 0.8262 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.0001301/0.3299, allocations: 99.25 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3301, allocations: 87.91 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3301, allocations: 4 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.3302, allocations: 51.92 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.3304, allocations: 7.984 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.3309, allocations: 260.9 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3311, allocations: 0.7004 MB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/0.3312, allocations: 15.44 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3312, allocations: 4 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.003005/0.3342, allocations: 1.257 MB / 1.067 GB, free: 12.45 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