Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.EquationOfTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eqnTim.nDay|eqnTim.eqnTim",fileNamePrefix="Buildings_10_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_10_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.001701/0.001701, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001848/0.001848, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.594/2.594, allocations: 437.1 MB / 0.711 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001887, allocations: 67.72 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002979/0.3332, allocations: 1.452 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3343, allocations: 0.4962 MB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.3344, allocations: 0 / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.3344, allocations: 3.984 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3347, allocations: 27.88 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.3348, allocations: 27.89 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.3349, allocations: 51.8 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.335, allocations: 11.98 kB / 1.02 GB, free: 8.516 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.372e-05/0.3351, allocations: 23.97 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.3352, allocations: 19.92 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.3352, allocations: 4 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.3353, allocations: 8 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.3353, allocations: 15.91 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.3354, allocations: 23.88 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.72e-05/0.3355, allocations: 44.09 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3355, allocations: 0 / 1.02 GB, free: 8.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006236/0.3361, allocations: 351.5 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3362, allocations: 8.922 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.3362, allocations: 4.938 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3364, allocations: 180.3 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3364, allocations: 4.375 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3364, allocations: 384 / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.3365, allocations: 57.98 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3366, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3366, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3366, allocations: 3.938 kB / 1.021 GB, free: 7.691 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.3367, allocations: 35.92 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3371, allocations: 272.8 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3373, allocations: 66.67 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3374, allocations: 24.78 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.3374, allocations: 4 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3376, allocations: 71.38 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3376, allocations: 3.938 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0002382/0.3378, allocations: 85.67 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3379, allocations: 51.41 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.338, allocations: 109.8 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.338, allocations: 29.69 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3381, allocations: 92.14 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.3381, allocations: 15.73 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3381, allocations: 25.69 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3383, allocations: 322.8 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.3383, allocations: 15.98 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.3384, allocations: 12 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.3384, allocations: 40.98 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3385, allocations: 0 / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001193/0.3386, allocations: 65.69 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.3386, allocations: 12 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3386, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3386, allocations: 3.938 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.3387, allocations: 11.98 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3387, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.3388, allocations: 8 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3388, allocations: 0 / 1.022 GB, free: 6.203 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: 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 0.0001399/0.339, allocations: 121.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.339, allocations: 3.906 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.3392, allocations: 105.6 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3392, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3392, allocations: 256 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3392, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.3394, allocations: 193.6 kB / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3394, allocations: 96 / 1.022 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.3395, allocations: 11.94 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3395, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3395, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3395, allocations: 8 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3395, allocations: 3.938 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3397, allocations: 117 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.3398, allocations: 89.03 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3398, allocations: 7.938 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.3399, allocations: 3.938 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3399, allocations: 7.984 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3399, allocations: 12 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.34, allocations: 83.27 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000188/0.3402, allocations: 12 kB / 1.023 GB, free: 5.332 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: 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.0001245/0.3403, allocations: 99.25 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3405, allocations: 55.86 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3405, allocations: 0 / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.3405, allocations: 31.92 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3407, allocations: 13.12 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3411, allocations: 175.2 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.3414, allocations: 0.6807 MB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3414, allocations: 15.42 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3414, allocations: 0 / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of Templates: time 0.002372/0.3438, allocations: 0.8329 MB / 1.025 GB, free: 3.371 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches