Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001355, allocations: 198.9 kB / 16.26 MB, free: 6.625 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.453 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.51/2.51, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 55.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.8294, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002463/0.8319, allocations: 1.513 MB / 0.9506 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006991/0.8326, allocations: 0.4984 MB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.8326, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.8327, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.8329, allocations: 17.62 kB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.146e-05/0.833, allocations: 29.16 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.8331, allocations: 53.12 kB / 0.9512 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.8332, allocations: 6.938 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.8333, allocations: 26.16 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.844e-05/0.8334, allocations: 24.77 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.8334, allocations: 4.094 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.8334, allocations: 4.25 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.8334, allocations: 9.484 kB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.8335, allocations: 25.69 kB / 0.9513 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.8336, allocations: 35.89 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8336, allocations: 0 / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8336, allocations: 1.281 kB / 0.9513 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.8336, allocations: 7.984 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004832/0.8341, allocations: 350.4 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.8341, allocations: 9.625 kB / 0.9516 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.8342, allocations: 6.219 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8343, allocations: 171.1 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.8344, allocations: 3.125 kB / 0.9518 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.8344, allocations: 9.75 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.8345, allocations: 54.36 kB / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.8346, allocations: 0 / 0.9519 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.8346, allocations: 4 kB / 0.9519 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.8346, allocations: 5.359 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.651e-05/0.8347, allocations: 28.33 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.8351, allocations: 277.2 kB / 0.9522 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.8353, allocations: 70.05 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.8354, allocations: 22.77 kB / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.8354, allocations: 0 / 0.9523 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002295/0.8356, allocations: 81.56 kB / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.8357, allocations: 0 / 0.9523 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002628/0.8359, allocations: 84.92 kB / 0.9524 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.836, allocations: 55.41 kB / 0.9525 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.836, allocations: 105.1 kB / 0.9526 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.8361, allocations: 29.7 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.8361, allocations: 81.61 kB / 0.9527 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.8361, allocations: 13.91 kB / 0.9527 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.8362, allocations: 22.33 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/0.8363, allocations: 316.3 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.981e-05/0.8363, allocations: 19.77 kB / 0.953 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.8363, allocations: 24.58 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/0.8364, allocations: 34.06 kB / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8364, allocations: 0 / 0.9531 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001329/0.8366, allocations: 74.89 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.8366, allocations: 8.141 kB / 0.9532 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8366, allocations: 5.188 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8366, allocations: 256 / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-05/0.8367, allocations: 8.438 kB / 0.9532 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.8367, allocations: 4 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.8368, allocations: 14.7 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.8368, allocations: 1.469 kB / 0.9532 GB, free: 5.523 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.073e-05/0.8369, allocations: 116.6 kB / 0.9533 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.8369, allocations: 7.281 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.8371, allocations: 107.5 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8371, allocations: 1.094 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8371, allocations: 0 / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8371, allocations: 1.062 kB / 0.9534 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.956e-05/0.8372, allocations: 182.2 kB / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8373, allocations: 0 / 0.9536 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.8373, allocations: 13.5 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8373, allocations: 1 kB / 0.9536 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8373, allocations: 5.391 kB / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8373, allocations: 96 / 0.9536 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.8374, allocations: 3.938 kB / 0.9536 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.8375, allocations: 119.6 kB / 0.9537 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.8375, allocations: 86.02 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.8376, allocations: 1.562 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.8376, allocations: 9.234 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.8377, allocations: 4.438 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.8377, allocations: 1.438 kB / 0.9538 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.8377, allocations: 88.05 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8377, allocations: 1.25 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001859/0.8379, allocations: 9.156 kB / 0.9539 GB, free: 4.801 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001049/0.838, allocations: 115.6 kB / 0.954 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.8382, allocations: 60.25 kB / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8382, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.8382, allocations: 31.08 kB / 0.9541 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.8384, allocations: 5.328 kB / 0.9541 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.8387, allocations: 158.2 kB / 0.9543 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.8388, allocations: 0.6981 MB / 0.955 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.8389, allocations: 2.812 kB / 0.955 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.8389, allocations: 16.03 kB / 0.955 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8389, allocations: 0 / 0.955 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of Templates: time 0.002716/0.8417, allocations: 0.6676 MB / 0.9556 GB, free: 3.438 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches