Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004196/0.004196, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001065/0.001065, allocations: 199.8 kB / 16.68 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.7421 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.14 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2689, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00246/0.2714, allocations: 1.44 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009252/0.2723, allocations: 0.5104 MB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.2724, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.2725, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.2727, allocations: 23.86 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.2728, allocations: 27.91 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.844e-05/0.2729, allocations: 55.78 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.273, allocations: 7.984 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.2731, allocations: 23.97 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.2732, allocations: 27.91 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2733, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.2733, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.2733, allocations: 7.938 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.408e-05/0.2734, allocations: 23.91 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2735, allocations: 47.75 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2735, allocations: 3.938 kB / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2735, allocations: 0 / 1.222 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2735, allocations: 4 kB / 1.222 GB, free: 12.42 MB / 0.9825 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.0005922/0.2741, allocations: 355.3 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2741, allocations: 12.03 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2742, allocations: 30.75 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.2742, allocations: 8.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2743, allocations: 164.4 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2744, allocations: 4.375 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2744, allocations: 4.359 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.2745, allocations: 65.77 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2745, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2745, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2745, allocations: 4 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.422e-05/0.2746, allocations: 27.92 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.2749, allocations: 276.8 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2752, allocations: 62.67 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.2752, allocations: 28.78 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.2752, allocations: 0 / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.2754, allocations: 75.33 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2754, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0002354/0.2757, allocations: 89.66 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.2757, allocations: 55.41 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.155e-05/0.2758, allocations: 101.8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2758, allocations: 25.7 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.2759, allocations: 96.02 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2759, allocations: 11.91 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.2759, allocations: 25.7 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.276, allocations: 322.8 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.775e-05/0.2761, allocations: 15.98 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.2761, allocations: 12 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.2762, allocations: 40.91 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2762, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001291/0.2763, allocations: 69.64 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2764, allocations: 8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2764, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2764, allocations: 7.938 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.2765, allocations: 11.98 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2765, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.254e-05/0.2766, allocations: 8 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.2766, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 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 8.507e-05/0.2767, allocations: 117.8 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.2767, allocations: 4 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.2769, allocations: 101.6 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2769, allocations: 4 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2769, allocations: 0 / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2769, allocations: 4.188 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.2771, allocations: 193.5 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2771, allocations: 256 / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.2772, allocations: 8 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2772, allocations: 7.984 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2772, allocations: 4 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2772, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2772, allocations: 3.938 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2774, allocations: 117 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2775, allocations: 92.98 kB / 1.224 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2775, allocations: 4 kB / 1.224 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.2776, allocations: 3.938 kB / 1.224 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.2776, allocations: 7.984 kB / 1.224 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2776, allocations: 4 kB / 1.224 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.2777, allocations: 83.28 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2777, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002022/0.2779, allocations: 20 kB / 1.225 GB, free: 9.32 MB / 0.9825 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.0004327/0.2783, allocations: 0.6593 MB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2785, allocations: 47.92 kB / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2785, allocations: 0 / 1.225 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.158e-05/0.2785, allocations: 31.98 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2787, allocations: 11.94 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.2798, allocations: 1.242 MB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.28, allocations: 0.6807 MB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.128e-05/0.2801, allocations: 4 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.2801, allocations: 19.42 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.2801, allocations: 0 / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.2967, allocations: 1.662 MB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.591, allocations: 12.25 kB / 1.229 GB, free: 4.973 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches