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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_9_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.00476/0.00476, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001083/0.001083, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.195/2.195, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.62 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 140.4 MB / 1.087 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002409/0.2488, allocations: 1.458 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.2496, allocations: 0.4923 MB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.2496, allocations: 0 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.789e-05/0.2497, allocations: 4.047 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002039/0.2499, allocations: 29.11 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.653e-05/0.25, allocations: 27.95 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.601e-05/0.2501, allocations: 47.69 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.978e-05/0.2502, allocations: 11.98 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.305e-05/0.2503, allocations: 31.91 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.864e-05/0.2504, allocations: 19.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.2504, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.2504, allocations: 8 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.2504, allocations: 15.91 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2505, allocations: 23.92 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.547e-05/0.2506, allocations: 36.11 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2506, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2506, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2506, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 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.0004971/0.2511, allocations: 359.3 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2511, allocations: 12.03 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.2512, allocations: 38.75 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.2512, allocations: 0.9375 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2513, allocations: 180.2 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2513, allocations: 4.375 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2514, allocations: 384 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2515, allocations: 57.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2515, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2515, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2515, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.2516, allocations: 23.97 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.2519, allocations: 280.7 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2521, allocations: 66.67 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.149e-05/0.2521, allocations: 16.86 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.2522, allocations: 4 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.2523, allocations: 71.38 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.2523, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0002074/0.2525, allocations: 97.55 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.2526, allocations: 51.41 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.2526, allocations: 105.8 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2527, allocations: 29.7 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.2527, allocations: 88.14 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.2527, allocations: 11.91 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.2528, allocations: 21.78 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.2529, allocations: 318.8 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.2529, allocations: 19.97 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.2529, allocations: 19.98 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/0.253, allocations: 36.8 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.253, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.2531, allocations: 77.78 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2531, allocations: 11.98 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2531, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2532, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.2532, allocations: 8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2532, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.2533, allocations: 11.92 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.2533, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 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.146e-05/0.2534, allocations: 121.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.2534, allocations: 7.953 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.2536, allocations: 109.8 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2536, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2536, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.2536, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.2538, allocations: 185.6 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.2538, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.922e-05/0.2539, allocations: 8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2539, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2539, allocations: 11.92 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2539, allocations: 8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2539, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.254, allocations: 120.9 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2541, allocations: 81.11 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.2541, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.2542, allocations: 7.984 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.2542, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2542, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.2543, allocations: 91.27 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2543, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001823/0.2545, allocations: 8 kB / 1.092 GB, free: 12.65 MB / 0.8575 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.0004177/0.2549, allocations: 0.6612 MB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.255, allocations: 55.84 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.255, allocations: 4 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-05/0.2551, allocations: 31.94 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.2553, allocations: 3.984 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.2563, allocations: 1.223 MB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2565, allocations: 0.6807 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.2565, allocations: 16.16 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.2566, allocations: 15.44 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.2566, allocations: 0 / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.2729, allocations: 1.66 MB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/7.073, allocations: 7.688 kB / 1.097 GB, free: 8.309 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.csv","/var/lib/jenkins1/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