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.00207/0.00207, allocations: 108 kB / 15.6 MB, free: 132 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.001975/0.001975, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.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.88/2.88, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 67.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7023/0.7045, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.003028/0.7076, allocations: 1.446 MB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.7086, allocations: 0.4948 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.7087, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.7087, allocations: 3.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.709, allocations: 27.91 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.7092, allocations: 27.91 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.7093, allocations: 55.78 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.7094, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.7095, allocations: 19.92 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.7096, allocations: 27.89 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.7096, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.7097, allocations: 4 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.7097, allocations: 15.94 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.7097, allocations: 19.92 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.7099, allocations: 45.83 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7099, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7099, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7099, allocations: 0 / 1.019 GB, free: 288 kB / 0.7637 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.0007701/0.7107, allocations: 351.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.7107, allocations: 12.03 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.7108, allocations: 8.844 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.711, allocations: 164.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.711, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.711, allocations: 384 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.7112, allocations: 69.89 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.7112, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.7112, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.7112, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.227e-05/0.7113, allocations: 23.98 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.7118, allocations: 284.7 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.712, allocations: 70.61 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.7121, allocations: 16.86 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.7122, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.7124, allocations: 75.38 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.7124, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002881/0.7127, allocations: 89.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.7128, allocations: 59.39 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7129, allocations: 101.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.7129, allocations: 25.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.713, allocations: 92.08 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.713, allocations: 19.7 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.7131, allocations: 21.72 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7132, allocations: 326.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.7133, allocations: 12 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.7133, allocations: 20.05 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.745e-05/0.7134, allocations: 32.86 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7134, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001356/0.7135, allocations: 77.67 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.7136, allocations: 8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.7136, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.7136, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.7137, allocations: 11.98 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7137, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.7138, allocations: 8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.7138, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 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.000132/0.7139, allocations: 117.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.714, allocations: 3.906 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.7142, allocations: 109.5 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7142, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7142, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7142, allocations: 3.984 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.7144, allocations: 177.6 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7144, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/0.7145, allocations: 15.92 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7145, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.7145, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.7145, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7145, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.7147, allocations: 120.9 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.7148, allocations: 85.11 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.7148, allocations: 4.172 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.087e-05/0.7149, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.7149, allocations: 7.922 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.7149, allocations: 8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.715, allocations: 83.28 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.715, allocations: 3.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001983/0.7152, allocations: 16 kB / 1.022 GB, free: 13.24 MB / 0.7794 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.0001427/0.7154, allocations: 103.2 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.7155, allocations: 51.86 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7155, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.882e-05/0.7156, allocations: 31.92 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.7158, allocations: 9.875 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.7162, allocations: 151.3 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.7166, allocations: 0.6807 MB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.515e-05/0.7166, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.7167, allocations: 19.42 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of SimCode: time 5.92e-07/0.7167, allocations: 0 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.003735/0.7204, allocations: 0.6875 MB / 1.024 GB, free: 11.46 MB / 0.7794 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=400 -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/jenkins/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